Fix some warnings.
This commit is contained in:
parent
44e6a470d6
commit
2f24d19944
|
@ -152,8 +152,8 @@ construct_cflag_param_string(void)
|
|||
ConfigChannel.use_except ? "e" : "",
|
||||
ConfigChannel.use_forward ? "f" : "",
|
||||
ConfigChannel.use_halfop ? "h" : "",
|
||||
strchr(ConfigChannel.disabledmodes, "j") ? "" : "j",
|
||||
strchr(ConfigChannel.disabledmodes, "q") ? "" : "q",
|
||||
strchr(ConfigChannel.disabledmodes, 'j') ? "" : "j",
|
||||
strchr(ConfigChannel.disabledmodes, 'q') ? "" : "q",
|
||||
ConfigChannel.use_invex ? "I" : "");
|
||||
}
|
||||
|
||||
|
|
|
@ -230,9 +230,9 @@ isupport_chanmodes(const void *ptr)
|
|||
rb_snprintf(result, sizeof result, "%s%sb%s,k,%sl%s,%s",
|
||||
ConfigChannel.use_except ? "e" : "",
|
||||
ConfigChannel.use_invex ? "I" : "",
|
||||
strchr(ConfigChannel.disabledmodes, "q") ? "" : "q",
|
||||
strchr(ConfigChannel.disabledmodes, 'q') ? "" : "q",
|
||||
ConfigChannel.use_forward ? "f" : "",
|
||||
strchr(ConfigChannel.disabledmodes, "j") ? "" : "j",
|
||||
strchr(ConfigChannel.disabledmodes, 'j') ? "" : "j",
|
||||
cflagsbuf);
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue