Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
promise
OpenXG-RAN
Commits
be750619
Commit
be750619
authored
6 years ago
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove warning of uninitialized use in RLC
parent
e8af3bd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am.c
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am.c
+1
-1
No files found.
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am.c
View file @
be750619
...
@@ -936,7 +936,6 @@ rlc_am_mac_data_indication (
...
@@ -936,7 +936,6 @@ rlc_am_mac_data_indication (
(
void
)
l_rlc_p
;
/* avoid gcc warning "unused variable" */
(
void
)
l_rlc_p
;
/* avoid gcc warning "unused variable" */
LOG_I
(
RLC
,
"In rlc_am_mac_indication: size %d
\n
"
,
tb_size_in_bytes
);
#if TRACE_RLC_AM_PDU || MESSAGE_CHART_GENERATOR
#if TRACE_RLC_AM_PDU || MESSAGE_CHART_GENERATOR
if
(
data_indP
.
data
.
nb_elements
>
0
)
{
if
(
data_indP
.
data
.
nb_elements
>
0
)
{
...
@@ -947,6 +946,7 @@ rlc_am_mac_data_indication (
...
@@ -947,6 +946,7 @@ rlc_am_mac_data_indication (
rlc_am_pdu_sn_10_p
=
(
rlc_am_pdu_sn_10_t
*
)((
struct
mac_tb_ind
*
)
(
tb_p
->
data
))
->
data_ptr
;
rlc_am_pdu_sn_10_p
=
(
rlc_am_pdu_sn_10_t
*
)((
struct
mac_tb_ind
*
)
(
tb_p
->
data
))
->
data_ptr
;
tb_size_in_bytes
=
((
struct
mac_tb_ind
*
)
(
tb_p
->
data
))
->
size
;
tb_size_in_bytes
=
((
struct
mac_tb_ind
*
)
(
tb_p
->
data
))
->
size
;
LOG_I
(
RLC
,
"In rlc_am_mac_indication: size %d
\n
"
,
tb_size_in_bytes
);
if
((((
struct
mac_tb_ind
*
)
(
tb_p
->
data
))
->
data_ptr
[
0
]
&
RLC_DC_MASK
)
==
RLC_DC_DATA_PDU
)
{
if
((((
struct
mac_tb_ind
*
)
(
tb_p
->
data
))
->
data_ptr
[
0
]
&
RLC_DC_MASK
)
==
RLC_DC_DATA_PDU
)
{
if
(
rlc_am_get_data_pdu_infos
(
ctxt_pP
,
l_rlc_p
,
rlc_am_pdu_sn_10_p
,
tb_size_in_bytes
,
&
pdu_info
)
>=
0
)
{
if
(
rlc_am_get_data_pdu_infos
(
ctxt_pP
,
l_rlc_p
,
rlc_am_pdu_sn_10_p
,
tb_size_in_bytes
,
&
pdu_info
)
>=
0
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment