GH1278: Removed error code for alerts
[openssl.git] / util / find-unused-errs
index d36789ef6f776a2aa1af085f62eda8875e5d6316..68cf66b15f884802311f1fd8fc248223b97448f0 100755 (executable)
@@ -21,6 +21,10 @@ for F in `cat $X1` ; do
     git grep -l --full-name -F $F >$X2
     NUM=`wc -l <$X2`
     test $NUM -gt 2 && continue
+    if grep -q $F crypto/err/openssl.ec ; then
+        echo Possibly unused $F found in openssl.ec
+        continue
+    fi
     echo $F
     for FILE in `cat $X2` ; do
         grep -v -w $F <$FILE >$FILE.new