From: <dg...@su...> - 2009-01-13 17:39:48
|
Author: cstender Date: Tue Jan 13 18:39:02 2009 New Revision: 5129 URL: http://www.opensync.org/changeset/5129 Log: removed warning about unused variable 'memberid' when building with tests disabled. Modified: trunk/opensync/client/opensync_client_proxy.c Modified: trunk/opensync/client/opensync_client_proxy.c ============================================================================== --- trunk/opensync/client/opensync_client_proxy.c Tue Jan 13 17:12:00 2009 (r5128) +++ trunk/opensync/client/opensync_client_proxy.c Tue Jan 13 18:39:02 2009 (r5129) @@ -1129,7 +1129,9 @@ callContext *ctx = NULL; int haspluginconfig = config ? TRUE : FALSE; OSyncMessage *message = NULL; - long long int memberid = 0; +#ifdef OPENSYNC_UNITTESTS + long long int memberid = 0; +#endif osync_trace(TRACE_ENTRY, "%s(%p, %p, %p, %s, %s, %s, %s, %p, %p)", __func__, proxy, callback, userdata, formatdir, plugindir, plugin, groupname, configdir, config, error); osync_assert(proxy); |