summaryrefslogtreecommitdiff
path: root/camlibs/spca50x
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2014-06-01 12:18:31 +0000
committerMarcus Meissner <marcus@jet.franken.de>2014-06-01 12:18:31 +0000
commitdee73bdc554b9b0e2af0a9ccb25379655a17b179 (patch)
tree9fc5a1ae4b0b786685045a3984ede1b83e33ab0d /camlibs/spca50x
parent7af5780e43e10c2ad1b1f3cc34add66f888c8233 (diff)
downloadlibgphoto2-dee73bdc554b9b0e2af0a9ccb25379655a17b179.tar.gz
cleanup
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14972 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/spca50x')
-rw-r--r--camlibs/spca50x/spca50x-flash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/camlibs/spca50x/spca50x-flash.c b/camlibs/spca50x/spca50x-flash.c
index f76dde64b..7df9b8ed8 100644
--- a/camlibs/spca50x/spca50x-flash.c
+++ b/camlibs/spca50x/spca50x-flash.c
@@ -711,9 +711,8 @@ spca500_flash_84D_get_file (CameraPrivateLibrary * pl,
/* create a buffer to hold all the read in data */
buf = malloc (blks * 256);
- if (!buf){
+ if (!buf)
return GP_ERROR_NO_MEMORY;
- }
j = 0; /* k = 0; */
/* Now read in the image data */