[hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5223: Remove a non-crucial debug message that causes issues when compiling with -Os.

  • From: noreply@xxxxxxxxxxxxx
  • To: HIPL core team <hipl-dev@xxxxxxxxxxxxx>
  • Date: Tue, 30 Nov 2010 12:53:27 -0000

------------------------------------------------------------
revno: 5223
committer: Diego Biurrun <diego@xxxxxxxxxx>
branch nick: hipl
timestamp: Tue 2010-11-30 13:50:51 +0100
message:
  Remove a non-crucial debug message that causes issues when compiling with -Os.
  
  hipd/input.c: In function ‘hip_handle_r1’:
  ./lib/core/debug.h:418: error: inlining failed in call to ‘hip_state_str’: 
optimizing for size and code size would grow
modified:
  hipd/input.c


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to 
https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'hipd/input.c'
--- hipd/input.c        2010-11-30 10:35:59 +0000
+++ hipd/input.c        2010-11-30 12:50:51 +0000
@@ -837,8 +837,6 @@
     const struct hip_locator *locator       = NULL;
     uint16_t i2_mask = 0;
 
-    HIP_DEBUG("Received R1 in state %s\n", hip_state_str(ha_state));
-
     if (ha_state == HIP_STATE_I2_SENT) {
         HIP_DEBUG("Retransmission\n");
         retransmission = 1;

Other related posts:

  • » [hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5223: Remove a non-crucial debug message that causes issues when compiling with -Os. - noreply