Bug 1794

Summary: clang errors on LTE tests
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: lteAssignee: Nicola Baldo <nicola>
Status: RESOLVED FIXED    
Severity: blocker CC: buherman, ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: Mac OS   

Description Tommaso Pecorella 2013-11-08 17:06:15 UTC
This error appeared recently.

In file included from ../src/lte/test/lte-test-cell-selection.cc:22:
../src/lte/test/lte-test-cell-selection.h:118:10: error: private field 'm_enbTxPower' is not used [-Werror,-Wunused-private-field]
  double m_enbTxPower;
         ^
1 error generated.

Removing the member variable and its initialisation fixes the error (of course).
Comment 1 Nicola Baldo 2013-11-14 13:09:41 UTC
changeset:   10404:eb6495608840
tag:         tip
user:        Nicola Baldo <nbaldo@cttc.es>
date:        Thu Nov 14 19:07:55 2013 +0100
summary:     fixed Bug 1794 - clang errors on LTE tests

I am CCing Budiarto to check that he's fine with the change, as he is the author of this test.
Comment 2 Budiarto Herman 2013-11-15 06:29:51 UTC
(In reply to Nicola Baldo from comment #1)
> changeset:   10404:eb6495608840
> tag:         tip
> user:        Nicola Baldo <nbaldo@cttc.es>
> date:        Thu Nov 14 19:07:55 2013 +0100
> summary:     fixed Bug 1794 - clang errors on LTE tests
> 
> I am CCing Budiarto to check that he's fine with the change, as he is the
> author of this test.

Okay, I was planning test cases with different eNodeB Tx Power, but ended up not using it. I'm fine with the change. Thanks.

-budi-