mirror of
https://github.com/reactos/reactos.git
synced 2024-11-24 20:13:31 +08:00
[ADVAPI32_APITEST][NTDLL_APITEST][WINDOWSCODECS] Comment out some unused functions and types. Silences some clang-cl warnings.
This commit is contained in:
parent
ccd5377851
commit
9b349f958c
@ -63,10 +63,13 @@ static inline BitmapImpl *impl_from_IMILUnknown1(IMILUnknown1 *iface)
|
||||
return CONTAINING_RECORD(iface, BitmapImpl, IMILUnknown1_iface);
|
||||
}
|
||||
|
||||
#ifndef __REACTOS__
|
||||
/* This is currently unused */
|
||||
static inline BitmapImpl *impl_from_IMILUnknown2(IMILUnknown2 *iface)
|
||||
{
|
||||
return CONTAINING_RECORD(iface, BitmapImpl, IMILUnknown2_iface);
|
||||
}
|
||||
#endif
|
||||
|
||||
static inline BitmapLockImpl *impl_from_IWICBitmapLock(IWICBitmapLock *iface)
|
||||
{
|
||||
|
@ -71,11 +71,13 @@ typedef struct FormatConverter {
|
||||
} FormatConverter;
|
||||
|
||||
/* https://www.w3.org/Graphics/Color/srgb */
|
||||
#ifndef __REACTOS__
|
||||
static inline float from_sRGB_component(float f)
|
||||
{
|
||||
if (f <= 0.04045f) return f / 12.92f;
|
||||
return powf((f + 0.055f) / 1.055f, 2.4f);
|
||||
}
|
||||
#endif
|
||||
|
||||
static inline float to_sRGB_component(float f)
|
||||
{
|
||||
|
@ -32,6 +32,7 @@ static void send_msg(const char *type, const char *msg)
|
||||
WriteFile(pipe_handle, buf, strlen(buf)+1, &written, NULL);
|
||||
}
|
||||
|
||||
#if 0
|
||||
static inline void service_trace(const char *msg, ...)
|
||||
{
|
||||
va_list valist;
|
||||
@ -43,6 +44,7 @@ static inline void service_trace(const char *msg, ...)
|
||||
|
||||
send_msg("TRACE", buf);
|
||||
}
|
||||
#endif
|
||||
|
||||
static void service_ok(int cnd, const char *msg, ...)
|
||||
{
|
||||
|
@ -397,7 +397,7 @@ START_TEST(NtLoadUnloadKey)
|
||||
{
|
||||
PCWSTR HiveName;
|
||||
PCWSTR RegMountPoint;
|
||||
} HIVE_LIST_ENTRY, *PHIVE_LIST_ENTRY;
|
||||
} HIVE_LIST_ENTRY;
|
||||
|
||||
static const HIVE_LIST_ENTRY RegistryHives[] =
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user