Cleanup: avoid shadowing, redundant assignment & minor changes
Quiet cppecheck warnings, use const pointers, ELEM(..) macro, replace NULL -> nullptr, unsigned int -> uint.
This commit is contained in:
@@ -634,7 +634,7 @@ static PyObject *app_translations_pgettext_n(BlenderAppTranslations * /*self*/,
|
||||
PyObject *args,
|
||||
PyObject *kw)
|
||||
{
|
||||
static const char *kwlist[] = {"msgid", "msgctxt", NULL};
|
||||
static const char *kwlist[] = {"msgid", "msgctxt", nullptr};
|
||||
PyObject *msgid, *msgctxt;
|
||||
// (void)_pgettext;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user