소스 검색

Remove annoying warning

Daniele Bartolini 12 년 전
부모
커밋
559aa7d2ed
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      src/Device.cpp

+ 1 - 5
src/Device.cpp

@@ -372,11 +372,7 @@ void Device::unload(ResourceId name)
 //-----------------------------------------------------------------------------
 void Device::reload(ResourceId name)
 {
-	const void* old_resource = m_resource_manager->data(name);
-
-	m_resource_manager->reload(name);
-
-	const void* new_resource = m_resource_manager->data(name);
+	(void)name;
 }
 
 //-----------------------------------------------------------------------------