diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-01-08 21:05:41 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-01-08 21:05:41 +0000 |
commit | fcde5ec1a7e7dda343ba822c73be5f080b0ff0c8 (patch) | |
tree | fae8f53125cc8dbd05f4b107c32d3733dbfdd6da /usr.bin/vi/common/cut.h | |
parent | e36b0788688a5dd823dc99c40167de645deb9988 (diff) |
Explicit braces around macro fields and logical operations, gets rid of 148
warnings, no functional change.
From Ray Lai.
Diffstat (limited to 'usr.bin/vi/common/cut.h')
-rw-r--r-- | usr.bin/vi/common/cut.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/common/cut.h b/usr.bin/vi/common/cut.h index 8ea31d58040..7433453b306 100644 --- a/usr.bin/vi/common/cut.h +++ b/usr.bin/vi/common/cut.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cut.h,v 1.5 2005/10/17 19:12:16 otto Exp $ */ +/* $OpenBSD: cut.h,v 1.6 2006/01/08 21:05:39 miod Exp $ */ /*- * Copyright (c) 1991, 1993, 1994 @@ -68,7 +68,7 @@ struct _text { /* Text: a linked list of lines. */ CHAR_T L__name; \ L__name = isupper(nch) ? tolower(nch) : (nch); \ LIST_FOREACH((cbp), &(sp)->gp->cutq, q) \ - if (cbp->name == L__name) \ + if ((cbp)->name == L__name) \ break; \ } |