浏览代码

stb_c_lexer: fix a static analysis warning

Sean Barrett 6 年之前
父节点
当前提交
a895aec686
共有 1 个文件被更改,包括 1 次插入0 次删除
  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
 }