aboutsummaryrefslogtreecommitdiff
path: root/src/select.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-02-27 16:21:39 +0000
committerdrh <drh@noemail.net>2020-02-27 16:21:39 +0000
commitbe284e4ecee23499b30f9c1f8f44ebf872e071ea (patch)
tree31a061772003b0b297e0f03a6c6a586e9ca8a8a4 /src/select.c
parent67e2bb92df88c2497a5bbbe82b3e3be4fce8b6fc (diff)
downloadsqlite-be284e4ecee23499b30f9c1f8f44ebf872e071ea.tar.gz
sqlite-be284e4ecee23499b30f9c1f8f44ebf872e071ea.zip
Fix harmless compiler warnings from MSVC.
FossilOrigin-Name: 951b39ca74c9bd933139e099d5555283278db475f410f202c162e5d1e6aef933
Diffstat (limited to 'src/select.c')
-rw-r--r--src/select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select.c b/src/select.c
index a00abcc3d..a9ec1e852 100644
--- a/src/select.c
+++ b/src/select.c
@@ -4466,7 +4466,7 @@ static u8 minMaxQuery(sqlite3 *db, Expr *pFunc, ExprList **ppMinMax){
ExprList *pEList = pFunc->x.pList; /* Arguments to agg function */
const char *zFunc; /* Name of aggregate function pFunc */
ExprList *pOrderBy;
- u8 sortFlags;
+ u8 sortFlags = 0;
assert( *ppMinMax==0 );
assert( pFunc->op==TK_AGG_FUNCTION );