>
> Just remove the code if it's not needed, instead of commenting it out.
>
> Thanks,
> Ben
>

I've removed the code, and I'm resubmitting the patch
BR
Igor

[PATCH] xorp: libproto: spt.hh: Fix compiling with debug_fn set to
 true

Deleted definition of DEBUG_PRINT_FUNCTION_NAME,
so it wouldn't be defined twice.
First definition of DEBUG_PRINT_FUNCTION_NAME is in cli interface
if debug_fn is set to true.
Also, removed unecessary, commented, #define DEBUG_LOGGING.

Signed-off-by: Igor Maravic <[email protected]>
---
 xorp/libproto/spt.hh |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/xorp/libproto/spt.hh b/xorp/libproto/spt.hh
index f5b64ab..396452f 100644
--- a/xorp/libproto/spt.hh
+++ b/xorp/libproto/spt.hh
@@ -26,9 +26,6 @@

 // #define INCREMENTAL_SPT

-//#define DEBUG_LOGGING
-#define DEBUG_PRINT_FUNCTION_NAME
-
 #include "libxorp/ref_ptr.hh"
 #include "libxorp/c_format.hh"

-- 
1.7.5.4



_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to