Skip to content

Commit 85bcf99

Browse files
committed
ignore gcc warning for test
1 parent 1492ef7 commit 85bcf99

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

user/commands/test.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,11 @@ int test_float(int argc, char **argv){
194194
return 0;
195195
}
196196

197+
#pragma GCC diagnostic ignored "-Wuninitialized"
197198
void stack_overflow(int a){
198199
stack_overflow(a);
199200
}
201+
#pragma GCC diagnostic pop
200202

201203
pid_t do_fork(){
202204
return fork();

0 commit comments

Comments
 (0)