Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10751
Modified Files: Tag: devel_0_39 s_path.c s_print.c Log Message: fixed warnings
Index: s_print.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_print.c,v retrieving revision 1.2.4.1 retrieving revision 1.2.4.1.2.1 diff -C2 -d -r1.2.4.1 -r1.2.4.1.2.1 *** s_print.c 2 May 2005 07:39:50 -0000 1.2.4.1 --- s_print.c 27 Nov 2005 08:12:10 -0000 1.2.4.1.2.1 *************** *** 46,51 **** char buf[MAXPDSTRING]; va_list ap; - t_int arg[8]; - int i; va_start(ap, fmt); vsnprintf(buf, MAXPDSTRING-1, fmt, ap); --- 46,49 ---- *************** *** 59,64 **** char buf[MAXPDSTRING]; va_list ap; - t_int arg[8]; - int i; va_start(ap, fmt); vsnprintf(buf, MAXPDSTRING-1, fmt, ap); --- 57,60 ---- *************** *** 86,90 **** void postfloat(float f) { - char buf[80]; t_atom a; SETFLOAT(&a, f); --- 82,85 ---- *************** *** 101,106 **** char buf[MAXPDSTRING]; va_list ap; - t_int arg[8]; - int i; dopost("error: "); va_start(ap, fmt); --- 96,99 ---- *************** *** 115,120 **** char buf[MAXPDSTRING]; va_list ap; - t_int arg[8]; - int i; if(level>sys_verbose)return; dopost("verbose("); --- 108,111 ---- *************** *** 141,146 **** char buf[MAXPDSTRING]; va_list ap; - t_int arg[8]; - int i; static int saidit; dopost("error: "); --- 132,135 ---- *************** *** 174,179 **** char buf[MAXPDSTRING]; va_list ap; - t_int arg[8]; - int i; dopost("consistency check failed: "); va_start(ap, fmt); --- 163,166 ----
Index: s_path.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_path.c,v retrieving revision 1.3.4.6.2.2 retrieving revision 1.3.4.6.2.3 diff -C2 -d -r1.3.4.6.2.2 -r1.3.4.6.2.3 *** s_path.c 28 Oct 2005 12:11:30 -0000 1.3.4.6.2.2 --- s_path.c 27 Nov 2005 08:12:10 -0000 1.3.4.6.2.3 *************** *** 123,127 **** const char *npos; char temp[MAXPDSTRING]; ! t_namelist *nl = listwas, *rtn = listwas;
npos = s; --- 123,127 ---- const char *npos; char temp[MAXPDSTRING]; ! t_namelist *nl = listwas;
npos = s; *************** *** 299,304 **** #endif { ! char *slash; ! if (sys_verbose) post("tried %s and succeeded", dirresult); sys_unbashfilename(dirresult, dirresult); close (fd); --- 299,303 ---- #endif { ! if (sys_verbose) post("tried %s and succeeded", dirresult); sys_unbashfilename(dirresult, dirresult); close (fd); *************** *** 320,325 **** void open_via_helppath(const char *name, const char *dir) { ! t_namelist *nl, thislist, *listp; ! int fd = -1; char dirbuf2[MAXPDSTRING], realname[MAXPDSTRING];
--- 319,323 ---- void open_via_helppath(const char *name, const char *dir) { ! t_namelist thislist, *listp; char dirbuf2[MAXPDSTRING], realname[MAXPDSTRING];
*************** *** 368,375 **** FILE* file; int i; - int k; int rcargc; char* rcargv[NUMARGS]; - char* buffer; char buf[1000]; char c[MAXPDSTRING]; --- 366,371 ----