diff --git a/openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c b/openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c index 43fe393c82..ef8df8dfce 100644 --- a/openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c +++ b/openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c @@ -462,8 +462,8 @@ static void deliver_sdu_drb(void *_ue, nr_pdcp_entity_t *entity, char *data_buffer = buf; int size_to_write = size; if (buf[0] == 0) { - char *data_buffer = buf + 1; - int size_to_write = size - 1; + data_buffer = buf + 1; + size_to_write = size - 1; }