summaryrefslogtreecommitdiff
path: root/camlibs/sonydscf1
diff options
context:
space:
mode:
authorArnaud Launay <asl@launay.org>2003-04-08 17:21:17 +0000
committerArnaud Launay <asl@launay.org>2003-04-08 17:21:17 +0000
commit6ad1bc95e53838fad4989802aebe43b2a1ad1126 (patch)
tree91c10bcabdf00196a25f93486575f76f47230216 /camlibs/sonydscf1
parent92246f5e02c08fbb090cd868147e15764f60586d (diff)
downloadlibgphoto2-6ad1bc95e53838fad4989802aebe43b2a1ad1126.tar.gz
pointer not defined
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6323 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/sonydscf1')
-rw-r--r--camlibs/sonydscf1/chotplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/sonydscf1/chotplay.c b/camlibs/sonydscf1/chotplay.c
index 1c4501003..3522e46ac 100644
--- a/camlibs/sonydscf1/chotplay.c
+++ b/camlibs/sonydscf1/chotplay.c
@@ -261,7 +261,7 @@ long get_file(char *name, char **data, int format, int verbose)
u_long filelen;
u_long total = 0;
long len,memcpylen;
- char *ptr;
+ char *ptr = NULL;
u_char buf[0x400];
u_char jpeg_comment[256];