fix(*): null ptr warning.

This commit is contained in:
TinyO 2019-08-26 16:30:52 +08:00
parent 438fa5ede5
commit 92e973f563

View File

@ -528,8 +528,8 @@ bool pu_control_range(
if (min) *min = static_cast<int>(minVal); if (min) *min = static_cast<int>(minVal);
if (max) *max = static_cast<int>(maxVal); if (max) *max = static_cast<int>(maxVal);
if (def) *def = static_cast<int>(defVal); if (def) *def = static_cast<int>(defVal);
VLOG_INFO << __func__ << " " << option << // VLOG_INFO << __func__ << " " << option <<
": min=" << *min << ", max=" << *max << ", def=" << *def; // ": min=" << *min << ", max=" << *max << ", def=" << *def;
return true; return true;
} }