Merge branch 'V5-6-patches' into V5-7-patches

* V5-6-patches:
  Fix commit 7f4a7b891332899cea26e95be0337aae01648742: dont mix code and declarations.
diff --git a/snmplib/mib.c b/snmplib/mib.c
index 8bd5ad7..e790878 100644
--- a/snmplib/mib.c
+++ b/snmplib/mib.c
@@ -1777,6 +1777,8 @@
                     const struct enum_list *enums,
                     const char *hint, const char *units)
 {
+    u_char          str[] = "NULL";
+
     if (var->type != ASN_NULL) {
         if (!netsnmp_ds_get_boolean(
                 NETSNMP_DS_LIBRARY_ID, NETSNMP_DS_LIB_QUICKE_PRINT)) {
@@ -1789,7 +1791,6 @@
                                           NULL);
     }
 
-    u_char          str[] = "NULL";
     return snmp_strcat(buf, buf_len, out_len, allow_realloc, str);
 }