summaryrefslogtreecommitdiffstats
path: root/src/misc/bar
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2019-03-04 14:29:57 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2019-03-04 14:29:57 -0800
commitbc288a76332b1684b0183084aee0a4f46c617b62 (patch)
treedd8054d1408836d7e1bdc51eb6b2af2fb351eb70 /src/misc/bar
parent9842e82326b8e0a6605460888ae56757cb9a9a0f (diff)
downloadabc-bc288a76332b1684b0183084aee0a4f46c617b62.tar.gz
abc-bc288a76332b1684b0183084aee0a4f46c617b62.tar.bz2
abc-bc288a76332b1684b0183084aee0a4f46c617b62.zip
Suggested white-space changes for fewer gcc warnings.
Diffstat (limited to 'src/misc/bar')
-rw-r--r--src/misc/bar/bar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/misc/bar/bar.h b/src/misc/bar/bar.h
index c66e302e..15cb2912 100644
--- a/src/misc/bar/bar.h
+++ b/src/misc/bar/bar.h
@@ -61,7 +61,9 @@ extern void Bar_ProgressStop( Bar_Progress_t * p );
extern void Bar_ProgressUpdate_int( Bar_Progress_t * p, int nItemsCur, char * pString );
static inline void Bar_ProgressUpdate( Bar_Progress_t * p, int nItemsCur, char * pString ) {
- if ( BAR_PROGRESS_USE && p && (nItemsCur < *((int*)p)) ) return; Bar_ProgressUpdate_int(p, nItemsCur, pString); }
+ if ( BAR_PROGRESS_USE && p && (nItemsCur < *((int*)p)) ) return;
+ Bar_ProgressUpdate_int(p, nItemsCur, pString);
+}