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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]
linuxmaniac
force-pushed
the
vseva/gcc_warnings
branch
from
May 21, 2015 21:17
aa0c6a4
to
c051cb8
Compare
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]
You can merge it. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.