php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64715 PDO_MYSQL: variable set but not used
Submitted: 2013-04-25 18:40 UTC Modified: 2018-08-05 03:46 UTC
From: sixd@php.net Assigned: carusogabriel (profile)
Status: Closed Package: PDO MySQL
PHP Version: 5.5.0beta4 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sixd@php.net
New email:
PHP Version: OS:

 

 [2013-04-25 18:40 UTC] sixd@php.net
Description:
------------
Compiling pdo_mysql in PHP 5.5. Beta 4 gives these warnings:

/home/cjones/Desktop/php-5.5.0beta4/ext/pdo_mysql/pdo_mysql.c: In function 
‘zm_deactivate_pdo_mysql’:
/home/cjones/Desktop/php-5.5.0beta4/ext/pdo_mysql/pdo_mysql.c:188:2: warning: 
variable ‘dbg_skip_trace’ set but not used [-Wunused-but-set-variable]

and

/home/cjones/Desktop/php-5.5.0beta4/ext/pdo_mysql/mysql_driver.c: In function 
‘pdo_mysql_last_insert_id’:
/home/cjones/Desktop/php-5.5.0beta4/ext/pdo_mysql/mysql_driver.c:295:2: warning: 
variable ‘dbg_skip_trace’ set but not used [-Wunused-but-set-variable]

and

/home/cjones/Desktop/php-5.5.0beta4/ext/pdo_mysql/mysql_statement.c: In function 
‘pdo_mysql_fill_stmt_from_result’:
/home/cjones/Desktop/php-5.5.0beta4/ext/pdo_mysql/mysql_statement.c:133:2: 
warning: variable ‘dbg_skip_trace’ set but not used [-Wunused-but-set-variable]
/home/cjones/Desktop/php-5.5.0beta4/ext/pdo_mysql/mysql_statement.c: In function 
‘pdo_mysql_stmt_execute_prepared_mysqlnd’:
/home/cjones/Desktop/php-5.5.0beta4/ext/pdo_mysql/mysql_statement.c:279:2: 
warning: variable ‘dbg_skip_trace’ set but not used [-Wunused-but-set-variable]


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-01-01 12:32 UTC] felipe@php.net
-Package: PDO related +Package: PDO MySQL
 [2018-08-05 03:46 UTC] carusogabriel@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: carusogabriel
 [2018-08-05 03:46 UTC] carusogabriel@php.net
Closing as it was already solved.
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Dec 16 21:01:26 2018 UTC