diff options
Diffstat (limited to 'src/argv')
-rw-r--r-- | src/argv/ntapi_tt_argv_envp.c | 6 | ||||
-rw-r--r-- | src/argv/ntapi_tt_array_utf16.c | 4 | ||||
-rw-r--r-- | src/argv/ntapi_tt_array_utf8.c | 11 |
3 files changed, 21 insertions, 0 deletions
diff --git a/src/argv/ntapi_tt_argv_envp.c b/src/argv/ntapi_tt_argv_envp.c index 939c771..586393e 100644 --- a/src/argv/ntapi_tt_argv_envp.c +++ b/src/argv/ntapi_tt_argv_envp.c @@ -119,6 +119,9 @@ int32_t __stdcall __ntapi_tt_parse_cmd_line_args_utf16( unsigned int islash; unsigned char quoted_state; + /* unused param */ + (void)arg_flags; + /* check parameters for validity and alignment */ if ((!(uintptr_t)cmd_line) || (*cmd_line == 0)) /* we require at least one argument */ @@ -314,6 +317,9 @@ int32_t __stdcall __ntapi_tt_get_argv_envp_utf16( uintptr_t * paligned; wchar16_t * pboundary; + /* unused param */ + (void)reserved; + /* init */ __internals = __ntapi_internals(); diff --git a/src/argv/ntapi_tt_array_utf16.c b/src/argv/ntapi_tt_array_utf16.c index cc2d2f0..a86d5f8 100644 --- a/src/argv/ntapi_tt_array_utf16.c +++ b/src/argv/ntapi_tt_array_utf16.c @@ -37,6 +37,10 @@ int32_t __stdcall __ntapi_tt_array_copy_utf16( ptrdiff_t ptrs; size_t needed; + /* unused params */ + (void)interpreter; + (void)optarg; + /* fallback */ dummy = 0; wargv = wargv ? wargv : &dummy; diff --git a/src/argv/ntapi_tt_array_utf8.c b/src/argv/ntapi_tt_array_utf8.c index 8cea00b..364bceb 100644 --- a/src/argv/ntapi_tt_array_utf8.c +++ b/src/argv/ntapi_tt_array_utf8.c @@ -30,6 +30,10 @@ int32_t __stdcall __ntapi_tt_array_copy_utf8( ptrdiff_t ptrs; size_t needed; + /* unused params */ + (void)interpreter; + (void)optarg; + /* fallback */ dummy = 0; argv = argv ? argv : &dummy; @@ -113,5 +117,12 @@ int32_t __stdcall __ntapi_tt_array_convert_utf8_to_utf16( __in size_t buffer_len, __out size_t * bytes_written) { + (void)arrv; + (void)arra; + (void)base; + (void)buffer; + (void)buffer_len; + (void)bytes_written; + return NT_STATUS_SUCCESS; } |