Attention is currently required from: neels.

fixeria has posted comments on this change by neels. ( 
https://gerrit.osmocom.org/c/libosmo-pfcp/+/37993?usp=email )

Change subject: coverity CID#313611
......................................................................


Patch Set 1:

(1 comment)

File src/libosmo-pfcp/pfcp_msg.c:

https://gerrit.osmocom.org/c/libosmo-pfcp/+/37993/comment/7c64151e_bb53180d?usp=email
 :
PS1, Line 589:  struct osmo_fsm_inst *fi = m ? (m->ctx.session_fi ?: 
m->ctx.peer_fi) : NULL;
Checking `m` against `NULL` below and returning early makes these ternary 
checks redundant. I suggest moving the variable assignments below the if-block 
you're adding.



--
To view, visit https://gerrit.osmocom.org/c/libosmo-pfcp/+/37993?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: libosmo-pfcp
Gerrit-Branch: master
Gerrit-Change-Id: Ic5c87e029fe761b24ef9dcf801376da7b5a8d290
Gerrit-Change-Number: 37993
Gerrit-PatchSet: 1
Gerrit-Owner: neels <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: fixeria <[email protected]>
Gerrit-Attention: neels <[email protected]>
Gerrit-Comment-Date: Tue, 03 Sep 2024 05:18:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

Reply via email to