Attempt to fix harmless warnings generated by GCC and Clang runtime analyzers.

FossilOrigin-Name: b522c95ddcd7046dca756f4d1a1e90c34dbcab64
This commit is contained in:
drh
2015-07-15 18:04:48 +00:00
parent 3cf9c12008
commit 618ee61e04
4 changed files with 12 additions and 9 deletions
+3
View File
@@ -273,6 +273,9 @@ static int clang_sanitize_address(
# if __has_feature(address_sanitizer)
res = 1;
# endif
#endif
#ifdef __SANITIZE_ADDRESS__
res = 1;
#endif
if( res==0 && getenv("OMIT_MISUSE")!=0 ) res = 1;
Tcl_SetObjResult(interp, Tcl_NewIntObj(res));