HTTP API: Allow binary downloads and headers (#8573)
[oweals/minetest.git] / src / profiler.cpp
index 8e997442c9391392dfa08730deac3ffca6176f50..f8d4fc181989fff755c758367af49cb0c431cdc2 100644 (file)
@@ -22,8 +22,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 static Profiler main_profiler;
 Profiler *g_profiler = &main_profiler;
 ScopeProfiler::ScopeProfiler(
-               Profiler *profiler, const std::string &name, ScopeProfilerType type)
-    : m_profiler(profiler), m_name(name), m_timer(NULL), m_type(type)
+               Profiler *profiler, const std::string &name, ScopeProfilerType type) :
+               m_profiler(profiler),
+               m_name(name), m_type(type)
 {
        if (m_profiler)
                m_timer = new TimeTaker(m_name);