buggit2cl - Bugs: bug #65690, Warning "Useless use of a...

 
 

bug #65690: Warning "Useless use of a constant"

Submitter:  R. Diez <rdiez>
Submitted:  Sun 05 May 2024 10:21:28 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 05 May 2024 10:21:28 AM UTC, original submission:  

If you check the Perl syntax like this:

perl -c -W git2cl

you get this warning:

Useless use of a constant (": ") in void context

It is about this line:

$files = mywrap ("\t", "\t", "* $files"), ": ";

The ": " seems to get ignored. I removed it and the generated changelog file is identical.

I wonder if the ":" was intended to be output or not.

R. Diez <rdiez>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rdiez (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.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code