Fixed some compiler warnings.

This commit is contained in:
Andrew Johnson
2009-06-03 15:11:30 +00:00
parent 719a82590c
commit 8edbf9268c

View File

@@ -392,7 +392,7 @@ char *flex_gettime(void)
time_t t, time(time_t *);
char *result, *ctime(const time_t *), *copy_string(char *str);
t = time( (long *) 0 );
t = time( NULL );
result = copy_string( ctime( &t ) );
@@ -585,14 +585,7 @@ Char myesc(Char *array)
switch ( array[1] )
{
#if 0
case 'a': return ( '\a' );
#else
case 'a':
assert(0); /* \a causes some obscure problem with ANSI compilers */
/* EPICS never uses it anyway, so this should be OK */
break;
#endif
case 'b': return ( '\b' );
case 'f': return ( '\f' );
case 'n': return ( '\n' );