From 1667d4dd877f7cf1ac56842cb37b8e2acf9a48da Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 19 Oct 2019 23:43:38 +0000 Subject: [PATCH] This is useless git-svn-id: https://svn.eduke32.com/eduke32@8170 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/baselayer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/build/src/baselayer.cpp b/source/build/src/baselayer.cpp index cbad7a8af..878bd8186 100644 --- a/source/build/src/baselayer.cpp +++ b/source/build/src/baselayer.cpp @@ -223,8 +223,7 @@ static int osdfunc_setrendermode(osdcmdptr_t parm) if (parm->numparms != 1) return OSDCMD_SHOWHELP; - char *p; - int32_t m = Bstrtol(parm->parms[0], &p, 10); + int32_t m = Bstrtol(parm->parms[0], NULL, 10); if (m != REND_CLASSIC && m != REND_POLYMOST && m != REND_POLYMER) return OSDCMD_SHOWHELP;