Skip to content

Commit 72b3da7

Browse files
mooofinTomTheBear
authored andcommitted
configuration.c: fix label-before-declaration error (pre-C23)
`use_hardcoded:` was immediately followed by a declaration, invalid in C99/C11. Add empty statement after label. Fixes #754.
1 parent 503fe46 commit 72b3da7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/configuration.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ static int default_configuration(void)
9494

9595
#ifndef LIKWID_USE_PERFEVENT
9696
use_hardcoded:
97+
;
9798
#endif
9899

99100
const char *hardcodedAccessDaemonPath = TOSTRING(ACCESSDAEMON);

0 commit comments

Comments
 (0)