cyclecount is only used when __GNUC__ isn't defined.
authorRichard Levitte <levitte@openssl.org>
Mon, 18 Sep 2000 11:44:40 +0000 (11:44 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 18 Sep 2000 11:44:40 +0000 (11:44 +0000)
crypto/rand/rand_win.c

index 2a4f767..acdef30 100644 (file)
@@ -525,11 +525,12 @@ void RAND_screen(void) /* function available for backward compatibility */
 /* feed timing information to the PRNG */
 static void readtimer(void)
 {
 /* feed timing information to the PRNG */
 static void readtimer(void)
 {
-       DWORD w, cyclecount;
+       DWORD w;
        LARGE_INTEGER l;
        static int have_perfc = 1;
 #ifndef __GNUC__
        static int have_tsc = 1;
        LARGE_INTEGER l;
        static int have_perfc = 1;
 #ifndef __GNUC__
        static int have_tsc = 1;
+       DWORD cyclecount;
 
        if (have_tsc) {
          __try {
 
        if (have_tsc) {
          __try {