<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/22993">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Use NULL as default value for pointer type<br><br>Using zero there is confusing since it's a pointer to an integer.<br><br>Change-Id: Ief2368954c71005c529e3eea3fee5df2630e44c1<br>---<br>M src/gprs_rlcmac_ts_alloc.cpp<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/93/22993/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gprs_rlcmac_ts_alloc.cpp b/src/gprs_rlcmac_ts_alloc.cpp</span><br><span>index 4c68a87..6b34418 100644</span><br><span>--- a/src/gprs_rlcmac_ts_alloc.cpp</span><br><span>+++ b/src/gprs_rlcmac_ts_alloc.cpp</span><br><span>@@ -147,7 +147,7 @@</span><br><span>  */</span><br><span> static int find_least_busy_pdch(const struct gprs_rlcmac_trx *trx, enum gprs_rlcmac_tbf_direction dir, uint8_t mask,</span><br><span>                          int (*fn)(const struct gprs_rlcmac_pdch *, enum gprs_rlcmac_tbf_direction dir),</span><br><span style="color: hsl(0, 100%, 40%);">-                         int *free_tfi = 0, int *free_usf = 0)</span><br><span style="color: hsl(120, 100%, 40%);">+                         int *free_tfi = NULL, int *free_usf = NULL)</span><br><span> {</span><br><span>     unsigned ts;</span><br><span>         int min_used = INT_MAX;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/22993">change 22993</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/osmo-pcu/+/22993"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ief2368954c71005c529e3eea3fee5df2630e44c1 </div>
<div style="display:none"> Gerrit-Change-Number: 22993 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>