Patch Set 16:

File src/gsm/gsm0808_utils.c:

Line 711:               remain -= sizeof(struct gsm48_loc_area_id) + 
and might be nice to define a local var for 

  sizeof(struct gsm48_loc_area_id) + sizeof(*ci_be)

instead of repeating over and over

Line 739:               remain -= sizeof(*lacp_be) + sizeof(*ci_be);
same repetition of sizes

Line 758:               remain -= sizeof(*ci_be);
same repetition, even if it's only one sizeof(), would be nice to formalize 
that it's the identical step size each time. Same below.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib7e754f538df0c83298a3c958b4e15a32fcb8abb
Gerrit-PatchSet: 16
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Stefan Sperling <>
Gerrit-Reviewer: Harald Welte <>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <>
Gerrit-Reviewer: Stefan Sperling <>
Gerrit-HasComments: Yes

Reply via email to