]> andersk Git - splint.git/blobdiff - src/messageLog.c
Updated html and word versions of the manual
[splint.git] / src / messageLog.c
index d8c525021ce0fa4357a99e7237d1fa1e7840588c..b5db2e3cfe99214d440de225703a23128bebe898 100644 (file)
@@ -1,6 +1,6 @@
 /*
-** LCLint - annotation-assisted static program checker
-** Copyright (C) 1994-2001 University of Virginia,
+** Splint - annotation-assisted static program checker
+** Copyright (C) 1994-2003 University of Virginia,
 **         Massachusetts Institute of Technology
 **
 ** This program is free software; you can redistribute it and/or modify it
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
-** For more information: http://lclint.cs.virginia.edu
+** For information on splint: info@splint.org
+** To report a bug: splint-bug@splint.org
+** For more information: http://www.splint.org
 */
 /*
 ** messageLog.c (from slist_template.c)
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 /*@only@*/ messageLog
@@ -51,10 +51,12 @@ msgentry_create (fileloc loc, cstring mess)
   return msg;
 }
 
+# ifdef S_SPLINT_S
 static /*@unused@*/ cstring msgentry_unparse (msgentry msg) /*@*/
 {
   return message ("%q:%s", fileloc_unparse (msg->loc), msg->msg);
 }
+# endif
 
 static void msgentry_free (/*@only@*/ msgentry msg)
 {
@@ -157,9 +159,6 @@ bool messageLog_add (messageLog s, fileloc fl, cstring mess)
     {
       if (msgentry_equal (msg, s->elements[ind + 1]))
        {
-         DPRINTF (("Messages equivalent: %s / %s",
-                   msgentry_unparse (msg),
-                   msgentry_unparse (s->elements[ind+1])));
          msgentry_free (msg);
          return FALSE;
        }
This page took 0.166062 seconds and 4 git commands to generate.