diff --git a/java/rocksjni/loggerjnicallback.cc b/java/rocksjni/loggerjnicallback.cc index 61571e987..a731fdac9 100644 --- a/java/rocksjni/loggerjnicallback.cc +++ b/java/rocksjni/loggerjnicallback.cc @@ -131,7 +131,6 @@ void LoggerJniCallback::Logv(const InfoLogLevel log_level, const char* format, } assert(format != nullptr); - assert(ap != nullptr); const std::unique_ptr msg = format_str(format, ap); // pass msg to java callback handler