summaryrefslogtreecommitdiff
path: root/libgphoto2/gphoto2-camera.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2009-08-01 22:42:42 +0000
committerDan Fandrich <dan@coneharvesters.com>2009-08-01 22:42:42 +0000
commiteadb697bc59691aeca63953b1e5381ec6711d126 (patch)
tree960d4be5b87fc2cc85bbb41a7b3cc08cb10fe91c /libgphoto2/gphoto2-camera.c
parent4d84ef97a09b95b50510d1d5303993615800f4be (diff)
downloadlibgphoto2-eadb697bc59691aeca63953b1e5381ec6711d126.tar.gz
More portability fixes.
Changed GP_UDEV to only enable UDEV support if libusb is available. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12349 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2/gphoto2-camera.c')
-rw-r--r--libgphoto2/gphoto2-camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgphoto2/gphoto2-camera.c b/libgphoto2/gphoto2-camera.c
index 8e5afa8fe..666fb8080 100644
--- a/libgphoto2/gphoto2-camera.c
+++ b/libgphoto2/gphoto2-camera.c
@@ -433,8 +433,8 @@ gp_camera_get_port_info (Camera *camera, GPPortInfo *info)
int
gp_camera_set_port_info (Camera *camera, GPPortInfo info)
{
- CHECK_NULL (camera);
char *name, *path;
+ CHECK_NULL (camera);
/*
* If the camera is currently initialized, terminate that connection.