summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libusb/core.c2
-rw-r--r--libusb/version_nano.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libusb/core.c b/libusb/core.c
index 23ab43b..a0248d1 100644
--- a/libusb/core.c
+++ b/libusb/core.c
@@ -2448,8 +2448,8 @@ int API_EXPORTED libusb_init_context(libusb_context **ctx, const struct libusb_i
return LIBUSB_ERROR_NO_MEM;
}
- _ctx->debug = LIBUSB_LOG_LEVEL_NONE;
#if defined(ENABLE_LOGGING) && !defined(ENABLE_DEBUG_LOGGING)
+ _ctx->debug = LIBUSB_LOG_LEVEL_NONE;
if (getenv("LIBUSB_DEBUG")) {
_ctx->debug = get_env_debug_level();
_ctx->debug_fixed = 1;
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index ab21611..6fd8422 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11794
+#define LIBUSB_NANO 11795