Skip to content

Commit

Permalink
Merge pull request #28 from LLNL/task/rhornung67/compile-fixes
Browse files Browse the repository at this point in the history
Fix compilation issue on Mac and unused variable warning.
  • Loading branch information
artv3 authored Sep 1, 2024
2 parents 0fcf955 + a8dc82e commit cc2cf52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion Intermediate_Tutorial/00-BASE/fractal-ex0-c-loop.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include <malloc.h>
#include <sys/time.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down
5 changes: 4 additions & 1 deletion Intermediate_Tutorial/01-SEQ/fractal-ex1-RAJA-seq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@

int main(int argc, char *argv[])
{
#if defined(COMPILE)
#if !defined(COMPILE)
RAJA_UNUSED_VAR(argc);
RAJA_UNUSED_VAR(argv);
#else

double dx, dy;
int width;
Expand Down

0 comments on commit cc2cf52

Please sign in to comment.