diff options
author | Hans Ulrich Niedermann <gp@n-dimensional.de> | 2002-01-02 14:49:41 +0000 |
---|---|---|
committer | Hans Ulrich Niedermann <gp@n-dimensional.de> | 2002-01-02 14:49:41 +0000 |
commit | df6ffbf9068b2f06d9c072ab8b5550a04e1a9fb9 (patch) | |
tree | 7c5e751d6e5268d7d38833826a79d28ae7fe1fc5 /camlibs/sonydscf1 | |
parent | 908429e2df3756b1a3d716d9fa602361ad99d390 (diff) | |
download | libgphoto2-df6ffbf9068b2f06d9c072ab8b5550a04e1a9fb9.tar.gz |
Removed redundant memset()s introduced by me :-(
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3649 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/sonydscf1')
-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 273f5c187..059f64294 100644 --- a/camlibs/sonydscf1/sonydscf1.c +++ b/camlibs/sonydscf1/sonydscf1.c @@ -39,12 +39,11 @@ int camera_abilities (CameraAbilitiesList *list) { //*count = 1; CameraAbilities a; - memset (&a, 0, sizeof(a)); /* Fill in each camera model's abilities */ /* Make separate entries for each conneciton type (usb, serial, etc...) if a camera supported multiple ways. */ - memset(&a, 0, sizeof(a)); + memset (&a, 0, sizeof(a)); strcpy(a.model, "Sony DSC-F1"); a.status = GP_DRIVER_STATUS_PRODUCTION; a.port=GP_PORT_SERIAL; |