From bac7ea9a27aaad28239f646caeae77747d987776 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Mon, 29 Jul 2013 12:47:35 -0500 Subject: Add missing braces from commit d41f5217, 2012-05-15. --- tdeioslave/system/kdedmodule/systemdirnotify.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tdeioslave/system') diff --git a/tdeioslave/system/kdedmodule/systemdirnotify.cpp b/tdeioslave/system/kdedmodule/systemdirnotify.cpp index e61a69f28..7d7d615b3 100644 --- a/tdeioslave/system/kdedmodule/systemdirnotify.cpp +++ b/tdeioslave/system/kdedmodule/systemdirnotify.cpp @@ -35,11 +35,12 @@ SystemDirNotify::SystemDirNotify() void SystemDirNotify::init() { - if( mInited ) + if( mInited ) { // FIXME Work around a probable race condition by inserting printf delay before following // code is executed -- the root cause of the race needs investigation and resolution. printf("[systemdirnotify] SystemDirNotify::init(mInited)"); return; + } mInited = true; TDEGlobal::dirs()->addResourceType("system_entries", TDEStandardDirs::kde_default("data") + "systemview"); -- cgit v1.2.3