[haiku-commits] r40094 - haiku/trunk/src/system/libroot/os

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 3 Jan 2011 19:03:24 +0100 (CET)

Author: bonefish
Date: 2011-01-03 19:03:23 +0100 (Mon, 03 Jan 2011)
New Revision: 40094
Changeset: http://dev.haiku-os.org/changeset/40094

Modified:
   haiku/trunk/src/system/libroot/os/driver_settings.cpp
Log:
Changed put_parameter() return type to void. The value was always true and
never checked anyway.


Modified: haiku/trunk/src/system/libroot/os/driver_settings.cpp
===================================================================
--- haiku/trunk/src/system/libroot/os/driver_settings.cpp       2011-01-03 
17:56:04 UTC (rev 40093)
+++ haiku/trunk/src/system/libroot/os/driver_settings.cpp       2011-01-03 
18:03:23 UTC (rev 40094)
@@ -559,7 +559,7 @@
 }
 
 
-static bool
+static void
 put_parameter(char **_buffer, size_t *_bufferSize,
        struct driver_parameter *parameter, int32 level, bool flat)
 {
@@ -594,8 +594,6 @@
                        put_level_space(_buffer, _bufferSize, level);
                put_chars(_buffer, _bufferSize, flat ? "}" : "}\n");
        }
-
-       return *_bufferSize >= 0;
 }
 
 


Other related posts:

  • » [haiku-commits] r40094 - haiku/trunk/src/system/libroot/os - ingo_weinhold