Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit6e6f9d7

Browse files
committed
fix some warnings
1 parentbf90a72 commit6e6f9d7

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

‎Makefile

Lines 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

Lines 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

Lines 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,int32pos)
5353
{
54-
intxxx;
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)

[8]ページ先頭

©2009-2025 Movatter.jp