mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 14:15:30 -04:00
changes to keep compilers quiet
This commit is contained in:
parent
7296707b35
commit
d0af2bed0b
3 changed files with 5 additions and 6 deletions
|
|
@ -132,10 +132,6 @@ int context_rtdb_match(int rtdb, const char *name, int reslen,
|
|||
}
|
||||
|
||||
|
||||
static void context_print()
|
||||
{
|
||||
printf("context = -%s-\n", context);
|
||||
}
|
||||
|
||||
int context_prefix(const char *name, char *result, int result_len)
|
||||
{
|
||||
|
|
@ -150,6 +146,10 @@ int context_prefix(const char *name, char *result, int result_len)
|
|||
}
|
||||
|
||||
/*
|
||||
static void context_print()
|
||||
{
|
||||
printf("context = -%s-\n", context);
|
||||
}
|
||||
int main()
|
||||
{
|
||||
int rtdb;
|
||||
|
|
|
|||
|
|
@ -88,7 +88,6 @@ static void rtdb_broadcast(const int msg_type, const int ma_type,
|
|||
{
|
||||
Integer len = MA_sizeof(ma_type, nelem, MT_CHAR);
|
||||
Integer from = 0;
|
||||
Integer type = msg_type;
|
||||
GA_Brdcst(data, len, from);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ void ma_print(FILE *file, const int ma_type, const int nelem, void *p)
|
|||
|
||||
case MT_F_INT: /* Fortran integer ... not equivalent on KSR */
|
||||
for (nprint=i=0; i<nelem; i++) {
|
||||
nprint += fprintf(file, "%d ", ((Integer *) p)[i]);
|
||||
nprint += fprintf(file, "%ld ", ((Integer *) p)[i]);
|
||||
if (nprint >= 72) {
|
||||
(void) fprintf(file, "\n");
|
||||
nprint = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue