[125617] trunk/base/src/pextlib1.0/system.c
jmr at macports.org
jmr at macports.org
Mon Sep 22 15:46:34 PDT 2014
Revision: 125617
https://trac.macports.org/changeset/125617
Author: jmr at macports.org
Date: 2014-09-22 15:46:34 -0700 (Mon, 22 Sep 2014)
Log Message:
-----------
avoid potential use of uninitialised variable
Modified Paths:
--------------
trunk/base/src/pextlib1.0/system.c
Modified: trunk/base/src/pextlib1.0/system.c
===================================================================
--- trunk/base/src/pextlib1.0/system.c 2014-09-22 22:46:09 UTC (rev 125616)
+++ trunk/base/src/pextlib1.0/system.c 2014-09-22 22:46:34 UTC (rev 125617)
@@ -128,7 +128,8 @@
pid_t pid;
uid_t euid;
Tcl_Obj *tcl_result;
- int read_failed, status;
+ int read_failed = 0;
+ int status;
int i;
if (objc < 2) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140922/d41e4906/attachment.html>
More information about the macports-changes
mailing list