Use NON_EMPTY_TRANSLATION_UNIT, consistently.
[openssl.git] / apps / ecparam.c
index b90247cc80d3d8d905a2b4c50621aaf9fbc1034a..7889caccefb35c8dcb147ca1a1c46801c9eade01 100644 (file)
  */
 
 #include <openssl/opensslconf.h>
-#ifndef OPENSSL_NO_EC
+#ifdef OPENSSL_NO_EC
+NON_EMPTY_TRANSLATION_UNIT
+#else
+
 # include <stdio.h>
 # include <stdlib.h>
 # include <time.h>
@@ -502,10 +505,4 @@ int ecparam_main(int argc, char **argv)
     return (ret);
 }
 
-#else                           /* !OPENSSL_NO_EC */
-
-# if PEDANTIC
-static void *dummy = &dummy;
-# endif
-
 #endif