You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2015/01/19 18:28:58 UTC

svn commit: r1653063 - /subversion/trunk/subversion/libsvn_repos/dump.c

Author: julianfoad
Date: Mon Jan 19 17:28:57 2015
New Revision: 1653063

URL: http://svn.apache.org/r1653063
Log:
* subversion/libsvn_repos/dump.c
  (notify_warning): Add a printf format hint to this printf-like function.
    (APR ensures this annotation is only active when supported by the compiler.)

Modified:
    subversion/trunk/subversion/libsvn_repos/dump.c

Modified: subversion/trunk/subversion/libsvn_repos/dump.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/dump.c?rev=1653063&r1=1653062&r2=1653063&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/dump.c (original)
+++ subversion/trunk/subversion/libsvn_repos/dump.c Mon Jan 19 17:28:57 2015
@@ -357,6 +357,7 @@ store_delta(apr_file_t **tempfile, svn_f
    with message WARNING_FMT formatted with the remaining variable arguments.
    Send it by calling NOTIFY_FUNC (if not null) with NOTIFY_BATON.
  */
+__attribute__((format(printf, 5, 6)))
 static void
 notify_warning(apr_pool_t *scratch_pool,
                svn_repos_notify_func_t notify_func,