forked from github/server
fix coverity warnings
This commit is contained in:
parent
3ea12be564
commit
aa230cc191
|
@ -102,8 +102,12 @@ static void a_upgradekeys(attrib **alist, attrib *abegin) {
|
|||
ak = a_add(alist, a_new(&at_keys));
|
||||
}
|
||||
}
|
||||
if (ak) {
|
||||
ak->data.v = keys;
|
||||
if (keys) {
|
||||
keys[0] = n + i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
attrib_type at_key = {
|
||||
|
|
|
@ -11,8 +11,9 @@
|
|||
const char *eressea_version(void) {
|
||||
#ifdef ERESSEA_BUILDNO
|
||||
return ERESSEA_VERSION "-" ERESSEA_BUILDNO;
|
||||
#endif
|
||||
#else
|
||||
return ERESSEA_VERSION;
|
||||
#endif
|
||||
}
|
||||
|
||||
int version_no(const char *str) {
|
||||
|
|
Loading…
Reference in New Issue