com php-src: Fix uninitialized value...: phpdbg_bp.c
| From: | Bob Weinand | Date: | Thu, 30 Oct 2014 11:15:27 +0000 |
| Subject: | com php-src: Fix uninitialized value...: phpdbg_bp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82890@lists.php.net to get a copy of this message | ||
Commit: 4fd66387a9ea739fc3216ea8357e8a3f59df224c
Author: Bob Weinand <bobwei9@hotmail.com> Thu, 30 Oct 2014 12:15:27 +0100
Parents: 6545a5c234de93cfa15611ccad4f97d8fade038c
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4fd66387a9ea739fc3216ea8357e8a3f59df224c
Log:
Fix uninitialized value...
Changed paths:
M phpdbg_bp.c
Diff:
diff --git a/phpdbg_bp.c b/phpdbg_bp.c
index 33824d4..85dc12a 100644
--- a/phpdbg_bp.c
+++ b/phpdbg_bp.c
@@ -240,7 +240,7 @@ PHPDBG_API void phpdbg_set_breakpoint_file(const char *path, long line_num TSRML
php_stream_statbuf ssb;
char realpath[MAXPATHLEN];
const char *original_path = path;
- zend_bool pending;
+ zend_bool pending = 0;
HashTable *broken, *file_breaks = &PHPDBG_G(bp)[PHPDBG_BREAK_FILE];
phpdbg_breakfile_t new_break;