Commits

Kristian Fiskerstrand committed 7277207

Further refactor logdep function to not use variable

Comments (0)

Files changed (1)

   in
   sprintf "(%s %s)" kind request
 
-let request_to_string_logdepend request = 
-  let request_string = 
-    if !Settings.debuglevel < 6 then 
-      request_to_string_short request
-      else request_to_string request in
-  request_string
+let request_to_string_logdepend request =
+  if !Settings.debuglevel < 6 then
+    request_to_string_short request
+    else request_to_string request
 
 
 (* Result codes and descriptions from                                               *)