diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-03-26 16:11:12 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2009-03-28 13:11:47 -0400 |
commit | 216a5913753ab7994429fff3baa53d2f1c728ee3 (patch) | |
tree | 4fa710245e509d8c0c30c6a78d491352d5c8dc52 | |
parent | 1045655aadd8afedf203d6f8ecad5b1b3af34577 (diff) | |
download | gnome-disk-utility-216a5913753ab7994429fff3baa53d2f1c728ee3.tar.gz gnome-disk-utility-216a5913753ab7994429fff3baa53d2f1c728ee3.tar.xz gnome-disk-utility-216a5913753ab7994429fff3baa53d2f1c728ee3.zip |
add a missing 'else'
There was an 'else' missing in this if-else cascade.
http://bugzilla.gnome.org/show_bug.cgi?id=575710
Signed-off-by: David Zeuthen <davidz@redhat.com>
-rw-r--r-- | src/gdu/gdu-error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdu/gdu-error.c b/src/gdu/gdu-error.c index 860f9a1..dbd8022 100644 --- a/src/gdu/gdu-error.c +++ b/src/gdu/gdu-error.c @@ -73,7 +73,7 @@ _gdu_error_fixup (GError *error) matched = TRUE; if (strcmp (name, "org.freedesktop.DeviceKit.Disks.Error.Failed") == 0) error->code = GDU_ERROR_FAILED; - if (strcmp (name, "org.freedesktop.DeviceKit.Disks.Error.Inhibited") == 0) + else if (strcmp (name, "org.freedesktop.DeviceKit.Disks.Error.Inhibited") == 0) error->code = GDU_ERROR_INHIBITED; else if (strcmp (name, "org.freedesktop.DeviceKit.Disks.Error.Busy") == 0) error->code = GDU_ERROR_BUSY; |