Browse Source

Get rid of a warning that only shows up with -O3.

Douglas William Thrift 14 years ago
parent
commit
4a46e3a1a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtpstree.cpp

+ 1 - 1
dtpstree.cpp

@@ -845,7 +845,7 @@ static uint16_t options(int argc, char *argv[], pid_t &hpid, pid_t &pid, char *&
 
 	_forall (int, index, optind, argc)
 	{
-		bool success;
+		bool success(false);
 
 		optarg = argv[index];
 		pid = value<pid_t, 0, INT_MAX>(program, options, &success);