1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtcreate: Resolve uninitialized warnings

This commit is contained in:
Peter Howkins 2021-12-22 01:25:46 +00:00 committed by Jon Trulson
parent 1227dabec4
commit 85684c337a
3 changed files with 3 additions and 3 deletions

View file

@ -255,7 +255,7 @@ static Widget _Uxbuild_AddFiletype(void)
int ntotalbuttons = 4; int ntotalbuttons = 4;
int nbutton = 0; int nbutton = 0;
Widget AF_ScrolledWindow; Widget AF_ScrolledWindow;
Widget AF_BigForm; Widget AF_BigForm = NULL;
XtArgVal /* Dimension */ dim1, dim2, dim3; XtArgVal /* Dimension */ dim1, dim2, dim3;
Widget AF_MED_IconForm, AF_TINY_IconForm; Widget AF_MED_IconForm, AF_TINY_IconForm;
IconData *pIconData; IconData *pIconData;

View file

@ -524,7 +524,7 @@ static Widget _Uxbuild_FileCharacteristics(void)
int nbutton = 0; int nbutton = 0;
#define TIGHTNESS 20 #define TIGHTNESS 20
Widget FC_ScrolledWindow; Widget FC_ScrolledWindow;
Widget FC_BigForm; Widget FC_BigForm = NULL;
char *dialog_title, *pre, *suf; char *dialog_title, *pre, *suf;

View file

@ -1051,7 +1051,7 @@ char *s1,*tmp,*s2,buf[10],*cts;
Boolean Boolean
IsLastSingle(char *str) IsLastSingle(char *str)
{ {
int n; int n = 0;
if(MB_CUR_MAX == 1) if(MB_CUR_MAX == 1)
return(TRUE); return(TRUE);