From:             sixd
Operating system: Linux
PHP version:      5.5.0beta4
Package:          PDO related
Bug Type:         Bug
Bug description:PDO_MYSQL: variable set but not used

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]


-- 
Edit bug report at https://bugs.php.net/bug.php?id=64715&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=64715&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=64715&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=64715&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=64715&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=64715&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=64715&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=64715&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=64715&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=64715&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=64715&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=64715&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=64715&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=64715&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64715&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=64715&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=64715&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=64715&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64715&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=64715&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=64715&r=mysqlcfg

Reply via email to