[Xorp-hackers] [PATCH 2/3] xorp: libproto: spt.hh: Fix compiling with debug_fn set to true

"Igor Maravić" igorm at etf.rs
Mon Feb 6 08:32:58 PST 2012


>
> 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 <igorm at etf.rs>
---
 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





More information about the Xorp-hackers mailing list