From 97c9b3ecc6da6058cf17840f6448617c7dc2be75 Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 21 Mar 2007 15:38:46 -0600 Subject: [PATCH] disable apparently unused code --- src/mesa/shader/slang/slang_storage.c | 2 ++ src/mesa/shader/slang/slang_storage.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/mesa/shader/slang/slang_storage.c b/src/mesa/shader/slang/slang_storage.c index 04995aa8420..6d6a6d9ac47 100644 --- a/src/mesa/shader/slang/slang_storage.c +++ b/src/mesa/shader/slang/slang_storage.c @@ -258,6 +258,7 @@ _slang_sizeof_aggregate(const slang_storage_aggregate * agg) } +#if 0 GLboolean _slang_flatten_aggregate(slang_storage_aggregate * flat, const slang_storage_aggregate * agg) @@ -299,3 +300,4 @@ _slang_flatten_aggregate(slang_storage_aggregate * flat, } return GL_TRUE; } +#endif diff --git a/src/mesa/shader/slang/slang_storage.h b/src/mesa/shader/slang/slang_storage.h index b02931fcc2a..d3047ee5164 100644 --- a/src/mesa/shader/slang/slang_storage.h +++ b/src/mesa/shader/slang/slang_storage.h @@ -125,6 +125,7 @@ extern GLuint _slang_sizeof_aggregate (const slang_storage_aggregate *); +#if 0 /** * Converts structured aggregate to a flat one, with arrays of generic * type being one-element long. Returns GL_TRUE on success. Returns @@ -134,5 +135,6 @@ extern GLboolean _slang_flatten_aggregate (slang_storage_aggregate *, const slang_storage_aggregate *); +#endif #endif /* SLANG_STORAGE_H */ -- 2.30.2