patchGNU nano - Patches: patch #9396, cosmetic: fix irregularities with...

 
 

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

patch #9396: cosmetic: fix irregularities with function parameters and curly brackets

Submitter:  David Lawrence Ramsey <dolorous>
Submitted:  Sun 02 Jul 2017 04:49:59 AM UTC
   
 
Priority:  3 - Low Status:  Done
Privacy:  Public Assigned to:  dolorous
Open/Closed:  Closed Release:  None

Mon 03 Jul 2017 03:47:22 PM UTC, comment #1: 

Again, both pushed in one commit, 7c41c864.  Thanks.

Benno Schulenberg <bens>
Group administrator
Sun 02 Jul 2017 04:49:59 AM UTC, original submission:  

Attached.

In current git (d1ee41f), the function do_comment() is declared as do_comment() instead of do_comment(void).  The first patch fixes that, since do_comment(void) matches the style rest of the code.

Also, in do_statusbar_input(), the else block that calls do_verbatim_input() is surrounded by {} when it doesn't need to be.  The second patch fixes that.

David Lawrence Ramsey <dolorous>
Group Member

 

(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 bens (Posted a comment)
  • -email is unavailable- added by dolorous (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.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-07-22 bens Open/ClosedOpen Closed
    2017-07-03 bens Priority5 - Normal 3 - Low
        StatusNone Done
        Assigned toNone dolorous
    2017-07-02 dolorous Attached File- Added 0001-tweaks-explicitly-mark-do_comment-as-taking-void.patch, #41099
        Attached File- Added 0002-tweaks-remove-unneeded-curly-brackets-in-do_statusba.patch, #41100

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code