11219 mdb: smbsrv.c: error: comparison between pointer and integer

Review Request #1988 - Created June 8, 2019 and submitted

Information
Toomas Soome
illumos-gate
11219
9c5aa3a...
Reviewers
general
../../../common/modules/smbsrv/smbsrv.c: In function 'smb_hash_walk_init':
../../../common/modules/smbsrv/smbsrv.c:1926:11: error: comparison between pointer and integer [-Werror]
  if (addr == NULL) {
           ^~
../../../common/modules/smbsrv/smbsrv.c: In function 'smb_hashstat_walk_init':
../../../common/modules/smbsrv/smbsrv.c:2015:11: error: comparison between pointer and integer [-Werror]
  if (addr == NULL) {
           ^~
cc1: all warnings being treated as errors

  

Issues

  • 0
  • 8
  • 0
  • 8
Description From Last Updated
Gordon Ross
Gordon Ross
Gergő Mihály Doma
Toomas Soome
Juraj Lutter
Andy Fiddaman
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...