avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [patch #9821] Fix compiler warning avr.c:85:3 about mislea


From: Adrian Klieber
Subject: [avrdude-dev] [patch #9821] Fix compiler warning avr.c:85:3 about misleading indentation
Date: Sun, 23 Jun 2019 08:02:50 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0

URL:
  <https://savannah.nongnu.org/patch/?9821>

                 Summary: Fix compiler warning avr.c:85:3 about misleading
indentation
                 Project: AVR Downloader/UploaDEr
            Submitted by: aklieber
            Submitted on: Sun 23 Jun 2019 12:02:49 PM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Private
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Indentation of functions avr_tpi_chip_erase and avr_tpi_program_enable is all
over the place. If keeping changes to a minimum is preferred over re-indenting
both functions, indentation of 

err = pgm->cmd_tpi(pgm, cmd, sizeof(cmd), NULL, 0);

should be the same as the while loop two lines above.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 23 Jun 2019 12:02:49 PM UTC  Name: avrdude_avr.c_fix_indent.patch 
Size: 4KiB   By: aklieber

<http://savannah.nongnu.org/patch/download.php?file_id=47131>

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?9821>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]