Ignore:
Timestamp:
Dec 14, 2017, 8:37:02 PM (7 years ago)
Author:
katerina
Message:

Fix for ticket #428 (compiler warnings).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_portcheck.c

    r526 r530  
    948948}
    949949
     950void * sh_dummy_950_p = NULL;
     951void * sh_dummy_951_p = NULL;
     952
    950953static int check_port_udp_internal (int fd, int port, struct sh_sockaddr * paddr)
    951954{
     
    964967  volatile int          sport = 0;
    965968
     969  sh_dummy_950_p = (void*) &p;
     970 
    966971  sh_ipvx_set_port(paddr, port);
    967972
     
    11161121    }
    11171122  sl_close_fd (FIL__, __LINE__, fd);
     1123  sh_dummy_950_p = NULL;
    11181124  return 0;
    11191125}
     
    11341140  socklen_t             slen  = 0;
    11351141  volatile int          sport = 0;
     1142
     1143  sh_dummy_951_p = (void*) &p;
    11361144
    11371145  sh_ipvx_set_port(paddr, port);
     
    13051313     }
    13061314  sl_close_fd (FIL__, __LINE__, fd);
     1315  sh_dummy_951_p = NULL;
    13071316  return 0;
    13081317}
Note: See TracChangeset for help on using the changeset viewer.