diff options
author | drh <drh@noemail.net> | 2018-01-23 19:24:54 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-01-23 19:24:54 +0000 |
commit | 21d59784227e227674f6a313090e5b84291dfcbe (patch) | |
tree | e3da9afb615dc0286f1b66755c88885de8757b84 /src/func.c | |
parent | d15046ac080f4633186fe0e31712525a4326a4bc (diff) | |
download | sqlite-21d59784227e227674f6a313090e5b84291dfcbe.tar.gz sqlite-21d59784227e227674f6a313090e5b84291dfcbe.zip |
Remove an unreachable branch from sqlite3SkipAccumulatorLoad().
FossilOrigin-Name: 8b9c8eab60b692e45c55a718d76b70e63040416040696907463692cbf83fb0c5
Diffstat (limited to 'src/func.c')
-rw-r--r-- | src/func.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/func.c b/src/func.c index 36cfa4423..4e80535e8 100644 --- a/src/func.c +++ b/src/func.c @@ -35,7 +35,8 @@ static CollSeq *sqlite3GetFuncCollSeq(sqlite3_context *context){ ** iteration of the aggregate loop. */ static void sqlite3SkipAccumulatorLoad(sqlite3_context *context){ - if( context->isError==0 ) context->isError = -1; + assert( context->isError<=0 ); + context->isError = -1; context->skipFlag = 1; } |