diff options
author | drh <> | 2022-04-13 18:32:04 +0000 |
---|---|---|
committer | drh <> | 2022-04-13 18:32:04 +0000 |
commit | b60d1fbe8e49bfa04ab4f63d8131cc4c9040d25e (patch) | |
tree | d3ffb402cef9c43b1be309a7b28a79faa69a6892 /src | |
parent | 7c96039492926b4b62e0a2c4e0208e42c0eb06b4 (diff) | |
download | sqlite-b60d1fbe8e49bfa04ab4f63d8131cc4c9040d25e.tar.gz sqlite-b60d1fbe8e49bfa04ab4f63d8131cc4c9040d25e.zip |
Make the sqlite3TreeViewSrcList() routine a no-op if called with a
NULL SrcList object.
FossilOrigin-Name: 185d2720e7775e3060a1647353c10aada435244db53a0732ee786788a6ecae3f
Diffstat (limited to 'src')
-rw-r--r-- | src/treeview.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/treeview.c b/src/treeview.c index 459316190..0a3f94267 100644 --- a/src/treeview.c +++ b/src/treeview.c @@ -133,6 +133,7 @@ void sqlite3TreeViewWith(TreeView *pView, const With *pWith, u8 moreToFollow){ */ void sqlite3TreeViewSrcList(TreeView *pView, const SrcList *pSrc){ int i; + if( pSrc==0 ) return; for(i=0; i<pSrc->nSrc; i++){ const SrcItem *pItem = &pSrc->a[i]; StrAccum x; |