]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Make it build with -Wunused.
authorSimon Josefsson <simon@josefsson.org>
Wed, 21 Sep 2011 12:48:20 +0000 (14:48 +0200)
committerSimon Josefsson <simon@josefsson.org>
Wed, 21 Sep 2011 12:48:20 +0000 (14:48 +0200)
lib/accelerated/intel/aes-padlock.c

index c71d667a17726eb5d5a81c03b4bf4c009900e49b..2d9e04210288297e64d3d6ae0d33a78d9b8c9f08 100644 (file)
@@ -167,6 +167,7 @@ static int check_padlock(void)
     return ((edx & (0x3 << 6)) == (0x3 << 6));
 }
 
+#ifdef ENABLE_VIA
 static unsigned check_via(void)
 {
     unsigned int a, b, c, d;
@@ -179,6 +180,7 @@ static unsigned check_via(void)
 
     return 0;
 }
+#endif
 
 void register_padlock_crypto(void)
 {