core/shark.c:319:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if(ret = luaL_loadfile(ls, argv[script])) {
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core/shark.c:319:9: note: place parentheses around the assignment to silence this warning
if(ret = luaL_loadfile(ls, argv[script])) {
^
( )
core/shark.c:319:9: note: use '==' to turn this assignment into an equality comparison
if(ret = luaL_loadfile(ls, argv[script])) {
^
==
1 warning generated.
Fix
clang
compile warning in core/shark.c: