buglwIP - A Lightweight TCP/IP stack - Bugs: bug #65848, generate.sh errors out due to...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #65848: generate.sh errors out due to wrong return type comments in snmp_traps.c

Submitter:  stefanct <stefanct>
Submitted:  Sat 08 Jun 2024 12:03:41 AM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
lwIP version:  git head

Sat 08 Jun 2024 12:03:41 AM UTC, original submission:  

as of 86c9f7999150199374d7697fd2eed62dcd9b1afa, executing doc/doxygen/generate.sh ends with this error:
src/apps/snmp/snmp_traps.c:511: error: found documented return type for snmp_authfail_trap that does not return anything (warning treated as error, aborting now)


This is only one of multiple such errors in two groups. Attached patch fixes the instances of void functions by removing the "@retval void" and the functions with return type err_t by replacing it with "@return ERR_OK if successful".

With this applied generate.sh runs through.

stefanct <stefanct>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by stefanct (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-06-08 stefanct Attached File- Added 0001-snmp_traps.c-fix-return-type-documentation-of-multip.patch, #56146

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code