From: drh <> Date: Mon, 2 May 2022 15:23:59 +0000 (+0000) Subject: Fix a harmless compiler warning in sqlite3TreeViewWinFunc() (a routine that X-Git-Tag: version-3.39.0~176 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a8809907f7ce3980ad4867865ea9c30f72b5c9f;p=thirdparty%2Fsqlite.git Fix a harmless compiler warning in sqlite3TreeViewWinFunc() (a routine that does not even appear in release builds). FossilOrigin-Name: daff6070039e45df7c47b323a8352e56d1264a7bfb065fe2d79c58454c95a262 --- diff --git a/manifest b/manifest index 3e37826c15..6331a9645d 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Improvement\son\scheck-in\s[a193749730d6cfba]\sso\sthat\sthe\ssubroutine\scall\sto\nthe\sIN\soperator\sright-hand\sside\sgenerator\sfrom\sthe\sRIGHT\sJOIN\sno-match\slogic\ndoes\snot\sgenerate\sunreachable\sbyte\scode. -D 2022-05-02T14:32:56.242 +C Fix\sa\sharmless\scompiler\swarning\sin\ssqlite3TreeViewWinFunc()\s(a\sroutine\sthat\ndoes\snot\seven\sappear\sin\srelease\sbuilds). +D 2022-05-02T15:23:59.708 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724 @@ -618,7 +618,7 @@ F src/test_window.c cdae419fdcea5bad6dcd9368c685abdad6deb59e9fc8b84b153de513d394 F src/test_wsd.c 41cadfd9d97fe8e3e4e44f61a4a8ccd6f7ca8fe9 F src/threads.c 4ae07fa022a3dc7c5beb373cf744a85d3c5c6c3c F src/tokenize.c a38f52058b517929e264094abd0b5fd1e8e145a1aa43bc6f6a72ae5218f96c98 -F src/treeview.c a47e4246396118f3d5a1c524de15e6fffaf02036be192d4339e887a2a9bf36b1 +F src/treeview.c 5e81880b7c010fb25f5b40fb617136694544e18adef78b28057206f78cbbd1db F src/trigger.c 372ada38f667c6823a3db15749eb668338e65c793394e55a37e56a489f2d1b55 F src/update.c 2cfaded82ca80ff56afb8c3ae5e88284e0824bfd86119827cc22481959f96f92 F src/upsert.c 8789047a8f0a601ea42fa0256d1ba3190c13746b6ba940fe2d25643a7e991937 @@ -1951,8 +1951,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 -P 40f3274745b53bb72933c1052d0e85bc74be56d3a1068e9d54dc28763a2cfef9 -R fa255f48eb3059bbcc1be1195343e4b6 +P cc458317bd77046c4328715ae9e3409f3f4cd422a01162cb33405ef3a142b0a3 +R 7b2c26fca08c4096a6d6906e453b4c50 U drh -Z e6ffd1955bb698b867fb285f4218f7e4 +Z 76eb5c6ba92cbe3f261ef935a3f5fceb # Remove this line to create a well-formed Fossil manifest. diff --git a/manifest.uuid b/manifest.uuid index 15adbbe53c..86f5a5d2b9 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -cc458317bd77046c4328715ae9e3409f3f4cd422a01162cb33405ef3a142b0a3 \ No newline at end of file +daff6070039e45df7c47b323a8352e56d1264a7bfb065fe2d79c58454c95a262 \ No newline at end of file diff --git a/src/treeview.c b/src/treeview.c index 3d5bd7175b..9718eb716b 100644 --- a/src/treeview.c +++ b/src/treeview.c @@ -462,6 +462,7 @@ void sqlite3TreeViewWindow(TreeView *pView, const Window *pWin, u8 more){ ** Generate a human-readable explanation for a Window Function object */ void sqlite3TreeViewWinFunc(TreeView *pView, const Window *pWin, u8 more){ + if( pWin==0 ) return; sqlite3TreeViewPush(&pView, more); sqlite3TreeViewLine(pView, "WINFUNC %s(%d)", pWin->pWFunc->zName, pWin->pWFunc->nArg);