Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
87d14247
Commit
87d14247
authored
Mar 29, 2016
by
Cédric Roux
Browse files
more warning removals
parent
5f823b40
Changes
3
Hide whitespace changes
Inline
Side-by-side
openair2/RRC/LITE/rrc_UE.c
View file @
87d14247
...
...
@@ -704,6 +704,10 @@ rrc_ue_establish_drb(
// add descriptor from RRC PDU
#ifdef PDCP_USE_NETLINK
int
oip_ifup
=
0
,
ip_addr_offset3
=
0
,
ip_addr_offset4
=
0
;
/* avoid gcc warnings */
(
void
)
oip_ifup
;
(
void
)
ip_addr_offset3
;
(
void
)
ip_addr_offset4
;
#endif
LOG_I
(
RRC
,
"[UE %d] Frame %d: processing RRCConnectionReconfiguration: reconfiguring DRB %ld/LCID %d
\n
"
,
...
...
openair2/RRC/LITE/rrc_eNB.c
View file @
87d14247
...
...
@@ -1147,7 +1147,7 @@ rrc_eNB_generate_defaultRRCConnectionReconfiguration(
struct
DRB_ToAddMod
*
DRB_config
=
NULL
;
struct
RLC_Config
*
DRB_rlc_config
=
NULL
;
struct
PDCP_Config
*
DRB_pdcp_config
=
NULL
;
//
struct PDCP_Config__rlc_AM *PDCP_rlc_AM = NULL;
struct
PDCP_Config__rlc_AM
*
PDCP_rlc_AM
=
NULL
;
struct
PDCP_Config__rlc_UM
*
PDCP_rlc_UM
=
NULL
;
struct
LogicalChannelConfig
*
DRB_lchan_config
=
NULL
;
struct
LogicalChannelConfig__ul_SpecificParameters
...
...
@@ -1292,6 +1292,9 @@ rrc_eNB_generate_defaultRRCConnectionReconfiguration(
DRB_pdcp_config
->
rlc_AM
=
NULL
;
DRB_pdcp_config
->
rlc_UM
=
NULL
;
/* avoid gcc warnings */
(
void
)
PDCP_rlc_AM
;
#ifdef RRC_DEFAULT_RAB_IS_AM // EXMIMO_IOT
PDCP_rlc_AM
=
CALLOC
(
1
,
sizeof
(
*
PDCP_rlc_AM
));
DRB_pdcp_config
->
rlc_AM
=
PDCP_rlc_AM
;
...
...
@@ -3007,6 +3010,10 @@ rrc_eNB_process_RRCConnectionReconfigurationComplete(
int
oip_ifup
=
0
;
int
dest_ip_offset
=
0
;
module_id_t
ue_module_id
=
-
1
;
/* avoid gcc warnings */
(
void
)
oip_ifup
;
(
void
)
dest_ip_offset
;
(
void
)
ue_module_id
;
#endif
uint8_t
*
kRRCenc
=
NULL
;
...
...
targets/SIMU/USER/oaisim.c
View file @
87d14247
...
...
@@ -458,6 +458,7 @@ l2l1_task (void *args_p)
char
*
xargv
[
1
];
//#endif
#undef PRINT_STATS
/* this undef is to avoid gcc warnings */
#define PRINT_STATS
#ifdef PRINT_STATS
int
len
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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