Skip to content

Commit aa15dd1

Browse files
committed
fix some svace warnigs
1 parent b96ef6d commit aa15dd1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

jsquery_io.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ flattenJsQueryParseItem(StringInfo buf, JsQueryParseItem *item, bool onlyCurrent
117117
case jqiIndexArray:
118118
appendBinaryStringInfo(buf, (char*)&item->arrayIndex,
119119
sizeof(item->arrayIndex));
120+
/* FALLTHROUGH */ /* keep svace quiet */
120121
case jqiAny:
121122
case jqiAnyArray:
122123
case jqiAnyKey:

jsquery_support.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ jsqGetNumeric(JsQueryItem *v)
209209
int32
210210
jsqGetIsType(JsQueryItem *v)
211211
{
212-
Assert(v->type = jqiIs);
212+
Assert(v->type == jqiIs);
213213

214214
return (int32)*v->value.data;
215215
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy