php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64717 Unused variables in phar
Submitted: 2013-04-25 18:44 UTC Modified: 2013-08-21 22:15 UTC
From: sixd@php.net Assigned: sixd (profile)
Status: Closed Package: PHAR related
PHP Version: 5.5.0beta4 OS: Linux
Private report: No CVE-ID: None
 [2013-04-25 18:44 UTC] sixd@php.net
Description:
------------
Compiling PHP 5.5 Beta 4 gives:

/home/cjones/Desktop/php-5.5.0beta4/ext/phar/zip.c: In function 
‘phar_parse_zipfile’:
/home/cjones/Desktop/php-5.5.0beta4/ext/phar/zip.c:408:10: warning: variable 
‘now’ set but not used [-Wunused-but-set-variable]
/home/cjones/Desktop/php-5.5.0beta4/ext/phar/zip.c: In function 
‘phar_zip_applysignature’:
/home/cjones/Desktop/php-5.5.0beta4/ext/phar/zip.c:1095:15: warning: variable 
‘st’ set but not used [-Wunused-but-set-variable]

and

/home/cjones/Desktop/php-5.5.0beta4/ext/phar/phar_object.c: In function 
‘zim_Phar_webPhar’:
/home/cjones/Desktop/php-5.5.0beta4/ext/phar/phar_object.c:568:21: warning: 
variable ‘ret’ set but not used [-Wunused-but-set-variable]


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-08-21 22:15 UTC] sixd@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: sixd
 [2013-08-21 22:15 UTC] sixd@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 13:01:30 2024 UTC