Skip to content

Commit 66a18ba

Browse files
AniruddhaKanherepaulbartell
authored andcommitted
Make jump_buf local to each calling file
1 parent 50aeeea commit 66a18ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit-test/catch_assert.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#define CATCH_JMPBUF waypoint_
4444
#endif
4545

46-
jmp_buf CATCH_JMPBUF;
46+
static jmp_buf CATCH_JMPBUF;
4747

4848
#pragma GCC diagnostic push
4949
#pragma GCC diagnostic ignored "-Wunused-function"

0 commit comments

Comments
 (0)