diff --git a/core/smn_commandline.cpp b/core/smn_commandline.cpp index f103964a..8cd84682 100644 --- a/core/smn_commandline.cpp +++ b/core/smn_commandline.cpp @@ -62,11 +62,11 @@ static cell_t sm_GetCommandLineParam(IPluginContext *pCtx, const cell_t *params) } char *param = NULL; - char *default = NULL; + char *defValue = NULL; pCtx->LocalToString(params[1], ¶m); pCtx->LocalToString(params[4], ¶m); - const char *value = pCmdLine->ParmValue(param, default); + const char *value = pCmdLine->ParmValue(param, defValue); pCtx->StringToLocal(params[2], params[3], value);