<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">what? :)</p><p style="white-space: pre-wrap; word-wrap: break-word;">Ok, to put it differently, if you see code like this:</p><p style="white-space: pre-wrap; word-wrap: break-word;">x.foo = {};<br>x.bar = 1;<br>x.baz = 5;<br>memset(&x.foo, 0, sizeof(x.foo));</p><p style="white-space: pre-wrap; word-wrap: break-word;">and you remove the final memset because x.foo was already cleared<br>before, that for me constitutes a cosmetic code change. We can<br>agree at least that there is absolutely no functional difference!?</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">The result may be the same, but the steps to do so change, like instructions executed, time spent. Would you consider changing a bubble sort with a quicksort a cosmetic change too?</p><p style="white-space: pre-wrap; word-wrap: break-word;">The patch is fine, I just get annoyed over time with the high amount of patches we mark as cosmetic that are actually changing how programs are executed, so I wanted to share my concerns.</p><p><a href="https://gerrit.osmocom.org/10699">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/10699">change 10699</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/10699"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I8b38f222f1c8c822e8e5e776850dbc60e30e8b8d </div>
<div style="display:none"> Gerrit-Change-Number: 10699 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 04 Sep 2018 10:04:02 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>