HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Bug #871686
api_edit_unleash_barbarians(): Returning NULL as boolean
0%
Description
Seen on emscripten build:
../../../../src/server/scripting/api_server_edit.c:58:28: warning: incompatible pointer to integer conversion returning 'void ' from a function with result type 'unsigned int' [-Wint-conversion]
LUASCRIPT_CHECK_STATE(L, NULL);
^~~
/work/misc/emsdk/upstream/emscripten/system/include/libc/locale.h:13:14: note: expanded from macro 'NULL'
#define NULL ((void)0)
^~~~~~~~~
../../../../src/common/scriptcore/luascript.h:119:35: note: expanded from macro 'LUASCRIPT_CHECK_STATE'
return LUASCRIPT_ASSERT_CAT(, VA_ARGS); \
^~~~~~~~~
../../../../src/common/scriptcore/luascript.h:102:50: note: expanded from macro 'LUASCRIPT_ASSERT_CAT'
#define LUASCRIPT_ASSERT_CAT(str1, str2) str1 ## str2
^~~~
History
#1
Updated by Marko Lindqvist about 2 years ago
- File 0039-Return-FALSE-instead-of-NULL-from-api_edit_unleash_b.patch 0039-Return-FALSE-instead-of-NULL-from-api_edit_unleash_b.patch added
- Status changed from In Progress to Resolved
- Sprint/Milestone set to 2.6.3
#2
Updated by Marko Lindqvist almost 2 years ago
- Status changed from Resolved to Closed
- Assignee set to Marko Lindqvist