forked from github/server
fix crash in release build
This commit is contained in:
parent
7d7842b849
commit
c68a356202
|
@ -45,6 +45,18 @@
|
||||||
"type": "STRING"
|
"type": "STRING"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "x64-Release",
|
||||||
|
"generator": "Ninja",
|
||||||
|
"configurationType": "RelWithDebInfo",
|
||||||
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
||||||
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
||||||
|
"cmakeCommandArgs": "",
|
||||||
|
"buildCommandArgs": "",
|
||||||
|
"ctestCommandArgs": "",
|
||||||
|
"inheritEnvironments": [ "msvc_x64_x64" ],
|
||||||
|
"variables": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -2965,10 +2965,8 @@ void maketemp_cmd(unit *u, order **olist)
|
||||||
ship *sh;
|
ship *sh;
|
||||||
unit *u2;
|
unit *u2;
|
||||||
order **ordp, **oinsert;
|
order **ordp, **oinsert;
|
||||||
#ifndef NDEBUG
|
|
||||||
keyword_t kwd = init_order(makeord, NULL);
|
keyword_t kwd = init_order(makeord, NULL);
|
||||||
assert(kwd == K_MAKETEMP);
|
assert(kwd == K_MAKETEMP);
|
||||||
#endif
|
|
||||||
alias = getid();
|
alias = getid();
|
||||||
s = gettoken(token, sizeof(token));
|
s = gettoken(token, sizeof(token));
|
||||||
if (s && s[0] == '\0') {
|
if (s && s[0] == '\0') {
|
||||||
|
|
Loading…
Reference in New Issue