bug-gv
[Top][All Lists]
Advanced

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

[bug-gv] [bug #36194] Improve const-correctness


From: Markus Elfring
Subject: [bug-gv] [bug #36194] Improve const-correctness
Date: Sun, 15 Apr 2012 14:25:50 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0

URL:
  <http://savannah.gnu.org/bugs/?36194>

                 Summary: Improve const-correctness
                 Project: GNU gv
            Submitted by: elfring
            Submitted on: So 15 Apr 2012 16:25:49 CEST
                Category: Sources configuration
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None

    _______________________________________________________

Details:

Would you like to apply the advices from an article
<http://en.wikipedia.org/wiki/Const-correctness> to more places in your
sources?
I suggest to add the key word "const" to the type specifiers for parameters
like the following.
* fn
<http://git.savannah.gnu.org/cgit/gv.git/tree/gv/src/file.h?id=4ad16200d391d5ba8894cfdbd122d8368ad8800b#n40>
(function "file_fileIsDir")
* filename
<http://git.savannah.gnu.org/cgit/gv.git/tree/gv/src/ps.h?id=b89cc512a93fa8f9625a767970e3a90e018348c0#n100>
(function "psscan")




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36194>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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