mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-08 12:01:21 +02:00
Danek: 29254: fix some compiler warnings
This commit is contained in:
parent
a5ff5b61a4
commit
9c0a19669b
6 changed files with 9 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2011-05-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||||
|
|
||||||
|
* Danek: 29254: Src/cond.c, Src/Builtins/rlimits.c,
|
||||||
|
Src/Modules/datetime.c, Src/Modules/zftp.c, Src/Zle/computil.c:
|
||||||
|
fix some compiler warnings.
|
||||||
|
|
||||||
2011-05-13 Peter Stephenson <pws@csr.com>
|
2011-05-13 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
* Jérémie Roquet: 29258: Src/Zle/zle_utils.c: mark a couple
|
* Jérémie Roquet: 29258: Src/Zle/zle_utils.c: mark a couple
|
||||||
|
@ -14682,5 +14688,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.5297 $
|
* $Revision: 1.5298 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
@ -954,7 +954,6 @@ int
|
||||||
cleanup_(Module m)
|
cleanup_(Module m)
|
||||||
{
|
{
|
||||||
return setfeatureenables(m, &module_features, NULL);
|
return setfeatureenables(m, &module_features, NULL);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**/
|
/**/
|
||||||
|
|
|
@ -146,7 +146,7 @@ bin_strftime(char *nam, char **argv, Options ops, UNUSED(int func))
|
||||||
}
|
}
|
||||||
|
|
||||||
static zlong
|
static zlong
|
||||||
getcurrentsecs()
|
getcurrentsecs(UNUSED(Param pm))
|
||||||
{
|
{
|
||||||
return (zlong) time(NULL);
|
return (zlong) time(NULL);
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,7 @@ struct zftp_session;
|
||||||
typedef struct zftp_session *Zftp_session;
|
typedef struct zftp_session *Zftp_session;
|
||||||
|
|
||||||
#include "tcp.h"
|
#include "tcp.h"
|
||||||
|
#include "tcp.mdh"
|
||||||
#include "zftp.mdh"
|
#include "zftp.mdh"
|
||||||
#include "zftp.pro"
|
#include "zftp.pro"
|
||||||
|
|
||||||
|
|
|
@ -3358,7 +3358,6 @@ bin_compvalues(char *nam, char **args, UNUSED(Options ops), UNUSED(int func))
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return 1;
|
|
||||||
|
|
||||||
case 'D':
|
case 'D':
|
||||||
/* This returns the description and action to use if we are at
|
/* This returns the description and action to use if we are at
|
||||||
|
|
|
@ -403,7 +403,6 @@ evalcond(Estate state, char *fromtest)
|
||||||
zwarnnam(fromtest, "bad cond code");
|
zwarnnam(fromtest, "bad cond code");
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue