changeset 2080:ccf085a4fa9c

Avoid a compiler warning with Clang
author Jorge Arellano Cid <jcid@dillo.org>
date Sat, 11 Jun 2011 08:33:49 -0400
parents 4ea703ed7f15
children ea7b25dcf495
files src/chain.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/chain.c	Fri Jun 10 12:19:14 2011 -0400
+++ b/src/chain.c	Sat Jun 11 08:33:49 2011 -0400
@@ -22,7 +22,7 @@
  */
 #if VERBOSE
 static void Chain_debug_msg(char *FuncStr, int Op, int Branch, int Dir,
-                             ChainLink *Info)
+                            ChainLink *Info)
 {
    const char *StrOps[] = {"", "OpStart", "OpSend",
                             "OpStop", "OpEnd", "OpAbort"};
@@ -31,7 +31,8 @@
        Info, Info ? Info->Flags : -1);
 }
 #else
-static void Chain_debug_msg() { }
+static void Chain_debug_msg(char *FuncStr, int Op, int Branch, int Dir,
+                            ChainLink *Info) { }
 #endif
 /*
  * Create and initialize a new chain-link