summaryrefslogtreecommitdiffhomepage
path: root/src/ipc
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-11 11:58:03 -0400
committermidipix <writeonce@midipix.org>2016-05-14 07:18:25 -0400
commitc713d8d019f7b0f9ed4a60912f440aca991d43c1 (patch)
tree949b58b49bc5087768cc8dbc3f65513b022ae5c5 /src/ipc
parenta7c8d71acbd60c4b2f3ba63c47eba9c74fa4270d (diff)
downloadntapi-c713d8d019f7b0f9ed4a60912f440aca991d43c1.tar.bz2
ntapi-c713d8d019f7b0f9ed4a60912f440aca991d43c1.tar.xz
code maintenance: mark unused parameters.
Diffstat (limited to 'src/ipc')
-rw-r--r--src/ipc/ntapi_tt_create_pipe_v1.c2
-rw-r--r--src/ipc/ntapi_tt_create_pipe_v2.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ipc/ntapi_tt_create_pipe_v1.c b/src/ipc/ntapi_tt_create_pipe_v1.c
index a22e839..98a23fa 100644
--- a/src/ipc/ntapi_tt_create_pipe_v1.c
+++ b/src/ipc/ntapi_tt_create_pipe_v1.c
@@ -59,6 +59,8 @@ int32_t __stdcall __ntapi_ipc_create_pipe_v1(
0
};
+ (void)advisory_buffer_size;
+
/* pipe_count */
counter = (intptr_t *)&__ntapi_internals()->v1_pipe_counter;
at_locked_inc(counter);
diff --git a/src/ipc/ntapi_tt_create_pipe_v2.c b/src/ipc/ntapi_tt_create_pipe_v2.c
index 0fed719..7252bf4 100644
--- a/src/ipc/ntapi_tt_create_pipe_v2.c
+++ b/src/ipc/ntapi_tt_create_pipe_v2.c
@@ -33,6 +33,8 @@ int32_t __stdcall __ntapi_ipc_create_pipe_v2(
'\\','N','a','m','e','d','P','i','p','e','\\',0
};
+ (void)advisory_buffer_size;
+
/* nt_name: pipe device directory */
nt_name.strlen = (uint16_t)(sizeof(pipe_dir) - sizeof(wchar16_t));
nt_name.maxlen = 0;