Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 SRCS            =       tcvn%UCS-2.c \
             tcvn%UTF-8.c \
             tcvn%viscii.c \
             UCS-2%tcvn.c  \

@@ -36,10 +37,13 @@
 COMMON = ../common/
 
 LINK_TARGETS  = UCS-2BE%tcvn.so tcvn%UCS-2BE.so
 LINK_TARGETS += UCS-2BE%viscii.so viscii%UCS-2BE.so
 
+# needs work
+SMOFF += all_func_returns,deref_check
+
 dummy: all
 
 tcvn%UCS-2LE.o: $(COMMON)tcvn%UCS-2.c
         $(CC) $(CFLAGS) -DUCS_2LE -c -o $@ $^