Skip to content

Commit

Permalink
suppress unused variable warning in non-Linux systems
Browse files Browse the repository at this point in the history
  • Loading branch information
vergoh committed Oct 17, 2022
1 parent 4d61e94 commit 556ff24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ifinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,9 @@ int istun(const char *iface)
return 1;
}
}
#else
// suppress unused variable warning
(void)iface;
#endif
return 0;
}

0 comments on commit 556ff24

Please sign in to comment.