iwconfig.c: In function ‘display_info’:
iwconfig.c:227:25: warning: variable ‘channel’ set but not used [-Wunused-but-set-variable]
  227 |       int               channel = -1;           /* Converted to channel */
      |                         ^~~~~~~
iwlib.c: In function ‘iw_enum_devices’:
iwlib.c:263:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  263 |       fgets(buff, sizeof(buff), fh);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iwlib.c:264:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  264 |       fgets(buff, sizeof(buff), fh);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iwlib.c: In function ‘iw_get_kernel_we_version’:
iwlib.c:346:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  346 |   fgets(buff, sizeof(buff), fh);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iwlib.c:362:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  362 |   fgets(buff, sizeof(buff), fh);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iwlist.c: In function ‘print_gen_ie_info’:
iwlist.c:410:1: warning: inlining failed in call to ‘iw_print_gen_ie’: call is unlikely and code size would grow [-Winline]
  410 | iw_print_gen_ie(unsigned char * buffer,
      | ^~~~~~~~~~~~~~~
iwlist.c:1985:9: note: called from here
 1985 |         iw_print_gen_ie(buf, wrq.u.data.length);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘print_scanning_token’,
    inlined from ‘print_scanning_info’ at iwlist.c:877:6:
iwlist.c:410:1: warning: inlining failed in call to ‘iw_print_gen_ie’: call is unlikely and code size would grow [-Winline]
  410 | iw_print_gen_ie(unsigned char * buffer,
      | ^~~~~~~~~~~~~~~
iwlist.c:592:7: note: called from here
  592 |       iw_print_gen_ie(event->u.data.pointer, event->u.data.length);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iwevent.c: In function ‘rtnl_open’:
iwevent.c:92:30: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
   92 |         memset(rth, 0, sizeof(rth));
      |                              ^
In function ‘wait_for_event’,
    inlined from ‘main’ at iwevent.c:799:3:
iwevent.c:616:1: warning: inlining failed in call to ‘handle_netlink_events’: --param large-stack-frame-growth limit reached [-Winline]
  616 | handle_netlink_events(struct rtnl_handle *      rth)
      | ^~~~~~~~~~~~~~~~~~~~~
iwevent.c:724:9: note: called from here
  724 |         handle_netlink_events(rth);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
ifrename.c: In function ‘mapping_getsysfs’:
ifrename.c:1789:23: warning: ignoring return value of ‘fchdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1789 |                       fchdir(cwd_fd);
      |                       ^~~~~~~~~~~~~~
ifrename.c: In function ‘main’:
ifrename.c:2642:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2642 |           usage();
      |           ^~~~~~~
ifrename.c:2643:9: note: here
 2643 |         case 'c':
      |         ^~~~