From: <svn...@op...> - 2009-07-13 13:14:49
|
Author: bellmich Date: Mon Jul 13 15:14:41 2009 New Revision: 1197 URL: http://libsyncml.opensync.org/changeset/1197 Log: fixed compiler warnings (which were real errors) Modified: trunk/libsyncml/sml_error.c trunk/tools/syncml-ds-tool.c Modified: trunk/libsyncml/sml_error.c ============================================================================== --- trunk/libsyncml/sml_error.c Mon Jul 13 15:06:24 2009 (r1196) +++ trunk/libsyncml/sml_error.c Mon Jul 13 15:14:41 2009 (r1197) @@ -270,6 +270,7 @@ * @returns TRUE if the error is set, FALSE otherwise * */ +/* static gboolean smlErrorIsSet(GError **error) { if (!error) @@ -280,6 +281,7 @@ return TRUE; } +*/ /*! @brief Returns the type of the error * Modified: trunk/tools/syncml-ds-tool.c ============================================================================== --- trunk/tools/syncml-ds-tool.c Mon Jul 13 15:06:24 2009 (r1196) +++ trunk/tools/syncml-ds-tool.c Mon Jul 13 15:14:41 2009 (r1197) @@ -315,7 +315,7 @@ if (fdata.st_mtime >= checkpoint) { if (sessionType == SML_SESSION_TYPE_CLIENT) { g_set_error(error, TOOL_ERROR, SML_ERROR_GENERIC, - "Someone accessed the file absolute after the synchronization started.", + "Someone accessed the file %s after the synchronization started.", filename); goto error; } else { |