Re-enable warnings as errors in Slang.

Change-Id: Id926a089c6e8c4ae5d11ce692105bc6d383636a9
diff --git a/slang_rs_object_ref_count.cpp b/slang_rs_object_ref_count.cpp
index 090f12b..8788a54 100644
--- a/slang_rs_object_ref_count.cpp
+++ b/slang_rs_object_ref_count.cpp
@@ -531,11 +531,9 @@
 
   slangAssert(!BaseType->isArrayType());
 
-  RSExportPrimitiveType::DataType DT =
-      RSExportPrimitiveType::GetRSSpecificType(BaseType);
-
   // Structs should show up as unknown primitive types
-  slangAssert(DT == RSExportPrimitiveType::DataTypeUnknown);
+  slangAssert(RSExportPrimitiveType::GetRSSpecificType(BaseType) ==
+              RSExportPrimitiveType::DataTypeUnknown);
 
   unsigned FieldsToDestroy = CountRSObjectTypes(BaseType);