pespin has posted comments on this change by neels. (
https://gerrit.osmocom.org/c/osmo-hnbgw/+/37996?usp=email )
Change subject: coverity CID#358071
......................................................................
Patch Set 1:
(1 comment)
File src/osmo-hnbgw/hnbgw_hnbap.c:
https://gerrit.osmocom.org/c/osmo-hnbgw/+/37996/comment/37f98701_170db85e?u… :
PS1, Line 657: cause.present = HNBAP_Cause_PR_protocol;
The effect of our two variants is identical, it's
a bikeshed.
No, it's not. In one you are writing all memory of the struct first and then again
overwriting some fields, while in the other you do less writing. Please stop naming
everything as bikeshed as a means to discard others comments systematically.
--
To view, visit
https://gerrit.osmocom.org/c/osmo-hnbgw/+/37996?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I8237bf7d4985e993bb10aaaa9370cde2ece3d812
Gerrit-Change-Number: 37996
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 04 Sep 2024 11:35:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: neels <nhofmeyr(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>