Ver código fonte

stb_c_lexer: fix a static analysis warning

Sean Barrett 6 anos atrás
pai
commit
a895aec686
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      stb_c_lexer.h

+ 1 - 0
stb_c_lexer.h

@@ -891,6 +891,7 @@ void dummy(void)
       4.
    };
    (void) sizeof(some_floats);
+   (void) some_floats[1];
 
    printf("test %d",1); // https://github.com/nothings/stb/issues/13
 }