forked from Mirrors/sngrep
Merge pull request #128 from miconda/master
Get rid of compile warning for clang and added tags/vim swap files to git ignore
This commit is contained in:
commit
789c85aa40
|
@ -30,3 +30,11 @@ test-driver
|
|||
|
||||
# Ignore Doxygen generated files
|
||||
doc/html
|
||||
|
||||
# Tags file
|
||||
tags
|
||||
TAGS
|
||||
|
||||
# Vim swap files
|
||||
.*.swp
|
||||
.*.swo
|
||||
|
|
|
@ -191,7 +191,7 @@ int
|
|||
setting_has_value(int id, const char *value)
|
||||
{
|
||||
setting_t *sett = setting_by_id(id);
|
||||
if (sett && sett->value) {
|
||||
if (sett) {
|
||||
return !strcmp(sett->value, value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue