diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2013-09-01 11:29:52 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2013-09-01 11:29:52 +0000 |
commit | 55097c87de6c464680aff7bb8cfc5c624b6fdf14 (patch) | |
tree | 158c83f85afb151d1aad39fa021cfa87ddc46e5f /camlibs/sonix | |
parent | d9a611d1ca226737e7ea16d27c672867d075e739 (diff) | |
download | libgphoto2-55097c87de6c464680aff7bb8cfc5c624b6fdf14.tar.gz |
fixed indentation (Coverity)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14533 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/sonix')
-rw-r--r-- | camlibs/sonix/library.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/camlibs/sonix/library.c b/camlibs/sonix/library.c index ff80edad6..32cb9065a 100644 --- a/camlibs/sonix/library.c +++ b/camlibs/sonix/library.c @@ -486,9 +486,9 @@ delete_file_func (CameraFilesystem *fs, const char *folder, if (k+1 != camera->pl->num_pics) { GP_DEBUG("Only the last photo can be deleted!\n"); return GP_ERROR_NOT_SUPPORTED; - } else - sonix_delete_last (camera->port); - camera->pl->num_pics -= 1; + } + sonix_delete_last (camera->port); + camera->pl->num_pics -= 1; return GP_OK; } |