Skip to content

Commit 306c6e7

Browse files
lint
Signed-off-by: Akshat Sikarwar <[email protected]>
1 parent 52baba2 commit 306c6e7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ add_definitions(
9090
-DCOMDB2_ROOT=${COMDB2_ROOT}
9191
-DCOMDB2_VERSION="2"
9292
-D_FILE_OFFSET_BITS=64
93+
-Dlint
9394
)
9495

9596
option(DEBUG_TXNLIST_PLHASH "Debug plhash txnlist implementation" OFF)

lua/lapi.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@
3232
#include "luaglue.h"
3333

3434

35+
#ifndef lint
3536
const char lua_ident[] =
3637
"$Lua: " LUA_RELEASE " " LUA_COPYRIGHT " $\n"
3738
"$Authors: " LUA_AUTHORS " $\n"
3839
"$URL: www.lua.org $\n";
39-
40+
#endif
4041

4142

4243
#define api_checknelems(L, n) api_check(L, (n) <= (L->top - L->base))

0 commit comments

Comments
 (0)