summaryrefslogtreecommitdiffstats
path: root/src/amd/addrlib/addrinterface.cpp
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-03-30 19:01:02 +0200
committerMarek Olšák <[email protected]>2017-03-30 19:17:39 +0200
commit331714d72eb33bfcc401e99629dd3e416652a15a (patch)
tree14bf4a1c1e5676f667ab352993ba2327e6868619 /src/amd/addrlib/addrinterface.cpp
parent681adbc18ca934566a42e952fe20e26c39a2d0d1 (diff)
Partially revert "amd/addrlib: silence warnings" to fix builds with DEBUG
This partially reverts commit 8a74140a21fe6b0d2e8a60b065b890f797f2db51.
Diffstat (limited to 'src/amd/addrlib/addrinterface.cpp')
-rw-r--r--src/amd/addrlib/addrinterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/addrlib/addrinterface.cpp b/src/amd/addrlib/addrinterface.cpp
index 6a0c330dcc5..12985fc37b6 100644
--- a/src/amd/addrlib/addrinterface.cpp
+++ b/src/amd/addrlib/addrinterface.cpp
@@ -832,7 +832,7 @@ BOOL_32 ADDR_API ElemGetExportNorm(
Addr::Lib* pLib = Lib::GetLib(hLib);
BOOL_32 enabled = FALSE;
- //ADDR_E_RETURNCODE returnCode = ADDR_OK;
+ ADDR_E_RETURNCODE returnCode = ADDR_OK;
if (pLib != NULL)
{
@@ -840,7 +840,7 @@ BOOL_32 ADDR_API ElemGetExportNorm(
}
else
{
- //returnCode = ADDR_ERROR;
+ returnCode = ADDR_ERROR;
}
ADDR_ASSERT(returnCode == ADDR_OK);