Changeset 9907ae4 in rtems-libbsd


Ignore:
Timestamp:
Aug 4, 2016, 12:13:20 PM (3 years ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
0717607
Parents:
2fb3a36
git-author:
Christian Mauderer <Christian.Mauderer@…> (08/04/16 12:13:20)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/04/16 13:44:12)
Message:

netstat: Don't init vars if they are not defined.

The variables are not available, if there is no INET6 defined.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/usr.bin/netstat/inet.c

    r2fb3a36 r9907ae4  
    9494rtems_bsd_netstat_inet_init(void)
    9595{
     96#ifdef INET6
    9697        udp_done = 0;
    9798        tcp_done = 0;
    9899        sdp_done = 0;
     100#endif /* INET6 */
    99101}
    100102#endif /* __rtems__ */
Note: See TracChangeset for help on using the changeset viewer.