diff --git a/src/lib/krb5/krb/deltat.c b/src/lib/krb5/krb/deltat.c
index 03145c854..34cdf969e 100644
--- a/lib/krb5/krb/deltat.c
+++ b/lib/krb5/krb/deltat.c
@@ -44,7 +44,6 @@
 #ifdef __GNUC__
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wuninitialized"
-#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
 #endif

 #include "k5-int.h"
