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
 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC