<p><a href="https://gerrit.osmocom.org/c/libosmocore/+/20332">View Change</a></p><p>5 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/20332/1/src/gsm/gad.c">File src/gsm/gad.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/libosmocore/+/20332/1/src/gsm/gad.c@37">Patch Set #1, Line 37:</a> <code style="font-family:monospace,monospace">     OSMO_VALUE_STRING(OSMO_GAD_TYPE_ELL_POINT),</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">probably want to have this as "ELL_POINT", etc. instead of full enum name</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/libosmocore/+/20332/1/src/gsm/gad.c@55">Patch Set #1, Line 55:</a> <code style="font-family:monospace,monospace">uint32_t osmo_gad_enc_lat(int32_t lat_deg_1e6)</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Missing documentation in all functions. I think it is really needed here.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/libosmocore/+/20332/1/src/gsm/gad.c@162">Patch Set #1, Line 162:</a> <code style="font-family:monospace,monospace">#ifdef GAD_FUTURE</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">explain this?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/libosmocore/+/20332/1/src/gsm/gad.c@250">Patch Set #1, Line 250:</a> <code style="font-family:monospace,monospace">  *gad = (struct osmo_gad){};</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">what's the point of memzeroing here?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/libosmocore/+/20332/1/src/gsm/gad.c@293">Patch Set #1, Line 293:</a> <code style="font-family:monospace,monospace">              OSMO_STRBUF_PRINTF(sb, "Ellipsoid-point-with-uncertainty-circle{to-str-not-implemented}");</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">all of these look like they should mostly be calls to get the value from value_string....</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/20332">change 20332</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/20332"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I7a9dd805a91b1ebb6353bde0cd169218acbf223c </div>
<div style="display:none"> Gerrit-Change-Number: 20332 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 01 Oct 2020 10:06:29 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>