Quiet a few MSC compiler warnings.
This commit is contained in:
parent
7e2f8ed2b0
commit
33a7101281
|
@ -1360,4 +1360,6 @@ get_object_property_data(Oid class_id)
|
||||||
|
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errmsg_internal("unrecognized class id: %u", class_id)));
|
(errmsg_internal("unrecognized class id: %u", class_id)));
|
||||||
|
|
||||||
|
return NULL; /* keep MSC compiler happy */
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,6 +68,9 @@
|
||||||
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
|
||||||
|
#ifdef _MSCVER
|
||||||
|
#include <float.h> /* for _isnan */
|
||||||
|
#endif
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#include "access/htup_details.h"
|
#include "access/htup_details.h"
|
||||||
|
|
|
@ -571,7 +571,7 @@ mcelem_array_contain_overlap_selec(Datum *mcelem, int nmcelem,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Without statistics make some default assumptions */
|
/* Without statistics make some default assumptions */
|
||||||
minfreq = 2 * DEFAULT_CONTAIN_SEL;
|
minfreq = 2 * (float4) DEFAULT_CONTAIN_SEL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Decide whether it is faster to use binary search or not. */
|
/* Decide whether it is faster to use binary search or not. */
|
||||||
|
|
|
@ -65,6 +65,7 @@ ecpg_type_name(enum ECPGttype typ)
|
||||||
default:
|
default:
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
return ""; /* keep MSC compiler happy */
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in New Issue