Fix a couple of 'misleading indentation' warnings exposed by the big tab->spaces commit yesterday.

This commit is contained in:
Brian Cox 2016-04-23 12:34:04 -07:00
parent 6fc0714d3f
commit 773e3b5487
3 changed files with 13 additions and 10 deletions

View File

@ -961,7 +961,8 @@ int mask;
/* /*
* parent process: if couldn't create child, error * parent process: if couldn't create child, error
*/ */
if (ch_pid != -1){ if (ch_pid != -1)
{
/* /*
* ignore any signals until child dies * ignore any signals until child dies
*/ */
@ -981,15 +982,18 @@ int mask;
/* /*
* use a stdio interface for uniformity * use a stdio interface for uniformity
*/ */
if (fp != NULL){ if (fp != NULL)
{
if (fp[0] != NULL) if (fp[0] != NULL)
fp[0] = fdopen(p[0][1], "w"); fp[0] = fdopen(p[0][1], "w");
else else
(void) close(p[0][1]); (void) close(p[0][1]);
if (fp[1] != NULL) if (fp[1] != NULL)
fp[1] = fdopen(p[1][0], "r"); fp[1] = fdopen(p[1][0], "r");
else else
(void) close(p[1][0]); (void) close(p[1][0]);
if (fp[2] != NULL) if (fp[2] != NULL)
fp[2] = fdopen(p[2][0], "r"); fp[2] = fdopen(p[2][0], "r");
else else

View File

@ -1784,7 +1784,6 @@ bool cEmailReportViewer::IgnoreThisSpec(const cFCOSpecAttr *attr)
if (mbForceFullReport) if (mbForceFullReport)
return false; return false;
// loop through all email addresses for this spec // loop through all email addresses for this spec
cFCOSpecAttrEmailIter emailIter(*attr); cFCOSpecAttrEmailIter emailIter(*attr);
for(emailIter.SeekBegin(); ! emailIter.Done(); emailIter.Next()) for(emailIter.SeekBegin(); ! emailIter.Done(); emailIter.Next())