Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean some gcc warnings #168

Merged
merged 8 commits into from May 22, 2015
Merged

clean some gcc warnings #168

merged 8 commits into from May 22, 2015

Conversation

linuxmaniac
Copy link
Member

No description provided.

dbt_raw_util.c:169:6: warning: unused variable ‘n’ [-Wunused-variable]
pg_cmd.c:183:17: warning: variable ‘pcmd’ set but not used [-Wunused-but-set-variable]
pg_cmd.c:372:17: warning: variable ‘pcmd’ set but not used [-Wunused-but-set-variable]
pg_cmd.c:396:17: warning: variable ‘pcmd’ set but not used [-Wunused-but-set-variable]
pg_cmd.c:183:17: warning: variable ‘pcmd’ set but not used [-Wunused-but-set-variable]
pg_cmd.c:372:17: warning: variable ‘pcmd’ set but not used [-Wunused-but-set-variable]
pg_cmd.c:396:17: warning: variable ‘pcmd’ set but not used [-Wunused-but-set-variable]
bdb_cmd.c:512:13: warning: variable ‘bcon’ set but not used [-Wunused-but-set-variable]
bdb_cmd.c:511:13: warning: variable ‘bres’ set but not used [-Wunused-but-set-variable]
bdb_con.c:52:13: warning: variable ‘buri’ set but not used [-Wunused-but-set-variable]
km_bdb_res.c:405:2: warning: enumeration value ‘DB1_UNKNOWN’ not handled in switch [-Wswitch]
km_bdb_res.c:498:2: warning: enumeration value ‘DB1_UNKNOWN’ not handled in switch [-Wswitch]
km_bdb_val.c:105:2: warning: enumeration value ‘DB1_UNKNOWN’ not handled in switch [-Wswitch]
km_db_berkeley.c:779:6: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
km_db_berkeley.c:907:6: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
usrloc_cb.c:68:6: warning: variable ‘buf_len’ set but not used [-Wunused-but-set-variable]
perlvdb_conv.c:99:2: warning: enumeration value ‘DB1_UNKNOWN’ not handled in switch [-Wswitch]
hashTable.c:168:22: warning: variable ‘previousRecord’ set but not used [-Wunused-but-set-variable]
kamailioNet.c:973:18: warning: variable ‘value’ set but not used [-Wunused-but-set-variable]
snmpSIPRegUserLookupTable.c:462:25: warning: variable ‘var’ set but not used [-Wunused-but-set-variable]
snmpSIPStatusCodesTable.c:493:30: warning: variable ‘var’ set but not used [-Wunused-but-set-variable]
mark.c:341:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 10 has type ‘int’ [-Wformat]
mark.c:341:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 8 has type ‘int’ [-Wformat]
mark.c:341:1: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 8 has type ‘int’ [-Wformat]
mark.c:341:1: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Wformat]
mark.c:350:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 10 has type ‘int’ [-Wformat]
mark.c:350:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 8 has type ‘int’ [-Wformat]
mark.c:350:1: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 8 has type ‘int’ [-Wformat]
mark.c:350:1: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Wformat]
mark.c:357:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 13 has type ‘int’ [-Wformat]
mark.c:357:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 11 has type ‘int’ [-Wformat]
mark.c:357:1: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 11 has type ‘int’ [-Wformat]
mark.c:357:1: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 9 has type ‘int’ [-Wformat]
hashtable.c:39:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
hashtable.c:39:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
hashtable.c:39:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
hashtable.c:39:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
hashtable.c:43:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
hashtable.c:43:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
hashtable.c:43:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
hashtable.c:43:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
purple_sip.c:77:36: warning: variable ‘cipid_ns’ set but not used [-Wunused-but-set-variable]
@miconda
Copy link
Member

miconda commented May 22, 2015

You can merge it. Thanks.

linuxmaniac added a commit that referenced this pull request May 22, 2015
@linuxmaniac linuxmaniac merged commit 46cc69f into master May 22, 2015
@linuxmaniac linuxmaniac deleted the vseva/gcc_warnings branch May 22, 2015 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants