Skip to content

Commit

Permalink
Preventing compiler from complaining
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzmas committed Mar 28, 2013
1 parent 7696ab5 commit 53471b7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libraries/razormount/rzmountproviders_udisks2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,8 @@ bool UDisks2MountDevice::mount()
mMountPath = "";

return ret;
#else
return false;
#endif
}

Expand All @@ -454,6 +456,8 @@ bool UDisks2MountDevice::unmount()
SIGNAL(unmounted()),
SLOT(dbusError(QDBusError, QDBusMessage)));
return ret;
#else
return false;
#endif
}

Expand All @@ -469,5 +473,7 @@ bool UDisks2MountDevice::eject()
return mDbus->callWithCallback("DriveEject", args, this,
SLOT(dbusSuccess(QDBusMessage)),
SLOT(dbusError(QDBusError, QDBusMessage)));
#else
return false;
#endif
}

0 comments on commit 53471b7

Please sign in to comment.