Author: post
Date: 2010-12-28 21:18:12 +0100 (Tue, 28 Dec 2010)
New Revision: 3700

Modified:
   trunk/src/rs-tethered-shooting.c
Log:
Avoid warning, by commenting out unused code.

Modified: trunk/src/rs-tethered-shooting.c
===================================================================
--- trunk/src/rs-tethered-shooting.c    2010-12-28 20:16:22 UTC (rev 3699)
+++ trunk/src/rs-tethered-shooting.c    2010-12-28 20:18:12 UTC (rev 3700)
@@ -200,6 +200,8 @@
  * The functions descend recursively, so you can just
  * specify the last component.
  */
+/* Should work, but currently not used */
+#if 0
 
 static int
 _lookup_widget(CameraWidget*widget, const char *key, CameraWidget **child) {
@@ -219,6 +221,7 @@
  * Sample (for Canons eg):
  *   get_config_value_string (camera, "owner", &ownerstr, context);
  */
+
 static int
 get_config_value_string (Camera *camera, const char *key, char **str, 
GPContext *context) {
        CameraWidget            *widget = NULL, *child = NULL;
@@ -268,6 +271,7 @@
        gp_widget_free (widget);
        return ret;
 }
+#endif
 
 #define CHECKRETVAL(A) if (A < GP_OK) {\
        append_status(t, _("ERROR: Gphoto2 returned error value %d\nError 
message is: %s\n"), A, gp_result_as_string(A));\


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to