Mercurial > dwindows
changeset 1693:b2311922a4de
Ah so... eliminated the last few VAC36 warnings on OS/2.
Thanks to the Project Odin ticket #1 for explaining how
to get rid of them with VisualAge.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 01 May 2012 23:25:20 +0000 |
parents | 6e26c9ead2fe |
children | 31f16da1052a |
files | os2/dw.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/os2/dw.c Tue May 01 23:12:02 2012 +0000 +++ b/os2/dw.c Tue May 01 23:25:20 2012 +0000 @@ -4816,7 +4816,7 @@ strcat(buf, "\n"); /* MLE */ - while((ptr = strstr(buf, "\n"))) + while((ptr = strstr(buf, "\n")) != NULL) { ptr[0] = 0; width = 0; @@ -6405,7 +6405,7 @@ HPIXMAP pixmap = NULL, disabled = NULL; HPOINTER icon = 0; - if ( ( pixmap = calloc( 1, sizeof(struct _hpixmap) ) ) ) + if((pixmap = calloc(1, sizeof(struct _hpixmap))) != NULL) { int z, j, lim; LONG fore; @@ -9273,7 +9273,7 @@ free(ci); - if((pCore = _dw_container_start(handle, CRA_CURSORED))) + if((pCore = _dw_container_start(handle, CRA_CURSORED)) != NULL) { NOTIFYRECORDEMPHASIS pre;