Print this page
10921 mdb_nicenum() needs smatch fix
        
*** 24,34 ****
  #
  
  #
  # Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  # Copyright (c) 2012 by Delphix. All rights reserved.
! # Copyright (c) 2012 Joyent, Inc. All rights reserved.
  # Copyright 2018 Jason King
  #
  
  .KEEP_STATE:
  .SUFFIXES:
--- 24,34 ----
  #
  
  #
  # Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  # Copyright (c) 2012 by Delphix. All rights reserved.
! # Copyright 2019 Joyent, Inc.
  # Copyright 2018 Jason King
  #
  
  .KEEP_STATE:
  .SUFFIXES:
*** 107,118 ****
  CERRWARN += -_gcc=-Wno-clobbered
  CERRWARN += -_gcc=-Wno-parentheses
  CERRWARN += -_gcc=-Wno-unused-label
  CERRWARN += -_gcc=-Wno-unused-variable
  
- SMOFF += all_func_returns
- 
  #
  # -erroff=E_INCONS_ARG_DECL2 works around a problem where lint gets confused
  # about how struct mdb_tgt_gregset is used in mdb_tgt_stack_f() and
  # mdb_tgt_stack_iter_f(). Will be resolved as part of fix for CR 6749868.
  #
--- 107,116 ----