Skip to content

Commit 0b2f4d3

Browse files
committed
eliminate compiler warning
1 parent beca0d1 commit 0b2f4d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

c/self-exe.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ static char *wide_to_utf8(const wchar_t *arg) {
7474
static char *get_process_executable_path(const char *exec_file) {
7575
wchar_t *path = NULL;
7676
DWORD n, sz;
77+
(void)exec_file;
7778
for (n = 0, sz = 256;; sz *= 2) {
7879
path = (wchar_t *)malloc(sz * sizeof(wchar_t));
7980
if (path == NULL) {

0 commit comments

Comments
 (0)