Bug 1794 - clang errors on LTE tests
clang errors on LTE tests
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: lte
ns-3-dev
All Mac OS
: P5 blocker
Assigned To: Nicola Baldo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-08 17:06 UTC by Tommaso Pecorella
Modified: 2013-11-15 06:29 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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-