From: drh Date: Thu, 29 May 2014 20:39:59 +0000 (+0000) Subject: Fix a harmless compiler warning in the command-line shell code. X-Git-Tag: version-3.8.5~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c4461f47a005fdea02e4cd25d0e714750e8f0d9;p=thirdparty%2Fsqlite.git Fix a harmless compiler warning in the command-line shell code. FossilOrigin-Name: a80527f60b4856e869f25e7b13afde351bc26a25 --- diff --git a/manifest b/manifest index 5ca3da5016..abdeead218 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Fix\sto\sthe\sEXPLAIN\sindentation\slogic\sin\sthe\scommand-line\sshell. -D 2014-05-29T20:17:57.027 +C Fix\sa\sharmless\scompiler\swarning\sin\sthe\scommand-line\sshell\scode. +D 2014-05-29T20:39:59.843 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in dd2b1aba364ff9b05de41086f74407f285c57670 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@ -221,7 +221,7 @@ F src/random.c d10c1f85b6709ca97278428fd5db5bbb9c74eece F src/resolve.c 273d5f47c4e2c05b2d3d2bffeda939551ab59e66 F src/rowset.c a9c9aae3234b44a6d7c6f5a3cadf90dce1e627be F src/select.c 7df17ec5506c2427576d412bee0e6ea740e12563 -F src/shell.c 33f6c0bc0e32eae099f7c2b79cfa7515b4b4702c +F src/shell.c d4ec3e1473501e78f39627787c8d356c0f5452d1 F src/sqlite.h.in 564fc23db33870b5096b20d72df7491ce0b8b74f F src/sqlite3.rc 11094cc6a157a028b301a9f06b3d03089ea37c3e F src/sqlite3ext.h 886f5a34de171002ad46fae8c36a7d8051c190fc @@ -1173,7 +1173,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4 F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f -P 48dce821a07ac29da6ce05e92cf3f6e52b6eb388 -R f3f6ddac33e05ba165213ff981b802f2 +P 8f916ed1e185ac728e00624d90e1d7bd2dda4469 +R e88640dd77d6321637c2833220e39939 U drh -Z 830218d29106127a2f4cf14b2b59a5e2 +Z 271b40f418717eb27805b21d52c6570f diff --git a/manifest.uuid b/manifest.uuid index 16ffe06ff6..16ca89683b 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -8f916ed1e185ac728e00624d90e1d7bd2dda4469 \ No newline at end of file +a80527f60b4856e869f25e7b13afde351bc26a25 \ No newline at end of file diff --git a/src/shell.c b/src/shell.c index 9b45a20592..526ddbbdec 100644 --- a/src/shell.c +++ b/src/shell.c @@ -2998,7 +2998,7 @@ static int do_meta_command(char *zLine, struct callback_data *p){ zCmd = sqlite3_mprintf(strchr(azArg[i],' ')==0?"%z %s":"%z \"%s\"", zCmd, azArg[i]); } - system(zCmd); + (void)system(zCmd); sqlite3_free(zCmd); }else