[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Remove warning 'format not a string literal' in libsvn_client

From: Daniel Näslund <daniel_at_longitudo.com>
Date: Thu, 5 Nov 2009 07:40:31 +0100


Still on the lookout for something interresting. In the meantime I've
started removing some compiler warnings.

The code looks uglier but the warnings is gone. Is there any #directive
to ignore warnings for a subpart of the code? We know that those fmt
strings are safe. Perhaps we could tell the compiler that?

* subversion/libsvn_client/diff.c
  (display_prop_diffs): Remove warnings about 'format not a string

* subversion/libsvn_client/export.c
  (copy_one_versioned_file): Remove warnings about 'format not a string

Patch by: Daniel Nslund <daniel_at_longitudo.com>


Received on 2009-11-05 07:40:54 CET

This is an archived mail posted to the Subversion Dev mailing list.