diff options
Diffstat (limited to 'camlibs/sonydscf1/sonydscf1.c')
-rw-r--r-- | camlibs/sonydscf1/sonydscf1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/camlibs/sonydscf1/sonydscf1.c b/camlibs/sonydscf1/sonydscf1.c index 2bfda6e12..bcc3acd5b 100644 --- a/camlibs/sonydscf1/sonydscf1.c +++ b/camlibs/sonydscf1/sonydscf1.c @@ -148,14 +148,13 @@ get_picture_information(GPPort *port,int *pmx_num, int outit) { unsigned char buforg[PMF_MAXSIZ]; char name[64]; - long len; int i, n; int j, k; char *buf = (char *) &buforg; strcpy(name, "/PIC_CAM/PIC00000/PIC_INF.PMF"); F1ok(port); - len = F1getdata(port, name, buf); + F1getdata(port, name, buf); n = buf[26] * 256 + buf[27]; /* how many files */ *pmx_num = buf[31]; /* ??? */ |