[haiku-commits] Re: haiku: hrev47243 - src/add-ons/kernel/partitioning_systems/session

  • From: kallisti5 <kallisti5@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 22 May 2014 08:18:03 -0500

On , jessica.l.hamilton@xxxxxxxxx wrote:
hrev47243 adds 3 changesets to branch 'master'
old head: b3fe70844e087a579563b43cf4c1b2525946ca27
new head: 549fcbf51afb8770bb23d698b705e1823ff81b0f
------

1 file changed, 2 insertions(+), 6 deletions(-)
src/add-ons/kernel/partitioning_systems/session/session.cpp | 8 ++------

############################################################################

Commit:      2e454dffc22ab0d2e666b676e04a0785955ff7c0
URL:         http://cgit.haiku-os.org/haiku/commit/?id=2e454df
Author:      Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
Date:        Thu May 22 07:35:36 2014 UTC

Revert "Fix coding style violation"

This reverts commit 00e081a1ecc4b22b453c3aec863e86279cf16ff3.

----------------------------------------------------------------------------

diff --git
a/src/add-ons/kernel/partitioning_systems/session/session.cpp
b/src/add-ons/kernel/partitioning_systems/session/session.cpp
index 3cb7c20..a8a1637 100644
--- a/src/add-ons/kernel/partitioning_systems/session/session.cpp
+++ b/src/add-ons/kernel/partitioning_systems/session/session.cpp
@@ -58,7 +58,8 @@ identify_partition(int fd, partition_data
*partition, void **cookie)
                        if (session != NULL) {
                                result = 0.9f;
                                delete session;
-                       } else
+                       }
+                       else
                                result = 0.1f;

                        *cookie = static_cast<void*>(disc);

This one actually shouldn't of been reverted :-)

 -- Alex

Other related posts: