Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6e6f9d7

Browse filesBrowse files
committed
fix some warnings
1 parent bf90a72 commit 6e6f9d7
Copy full SHA for 6e6f9d7

File tree

3 files changed

+2
-4
lines changed
Filter options

3 files changed

+2
-4
lines changed

‎Makefile

Copy file name to clipboardExpand all lines: Makefile
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ ifdef USE_PGXS
1616
PG_CONFIG = pg_config
1717
PGXS := $(shell $(PG_CONFIG) --pgxs)
1818
include $(PGXS)
19+
CC=gcc47
1920
else
2021
subdir = contrib/jsquery
2122
top_builddir = ../..

‎jsquery_op.c

Copy file name to clipboardExpand all lines: jsquery_op.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ checkScalarEquality(JsQueryItem *jsq, JsonbValue *jb)
101101
if (jb->type == jbvBinary)
102102
return false;
103103

104-
if (jb->type != jsq->type /* see enums */)
104+
if ((int)jb->type != (int)jsq->type /* see enums */)
105105
return false;
106106

107107
switch(jsq->type)

‎jsquery_support.c

Copy file name to clipboardExpand all lines: jsquery_support.c
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,10 @@ jsqInit(JsQueryItem *v, JsQuery *js)
5151
void
5252
jsqInitByBuffer(JsQueryItem *v, char *base, int32 pos)
5353
{
54-
int xxx;
55-
5654
v->base = base;
5755

5856
read_byte(v->type, base, pos);
5957

60-
xxx = v->type;
6158
v->hint = v->type & JSQ_HINT_MASK;
6259
v->type &= ~JSQ_HINT_MASK;
6360

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.