Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compiler warning (unused variable 'ai') #1

Merged
merged 1 commit into from
Jul 3, 2018
Merged

Conversation

Maroc-OS
Copy link
Owner

@Maroc-OS Maroc-OS commented Jul 3, 2018

There was a compiler warning because "ai" never used, So this is a quick fix for that.

Here is the example :

[ 72%] Building CXX object src/fileinfo/CMakeFiles/retdec-fileinfo.dir/file_presentation/file_presentation.cpp.o
/Users/x/Development/retdec/src/bin2llvmir/optimizations/decoder/ir_modifications.cpp:478:16: warning: unused variable 'ai' [-Wunused-variable]
        else if (auto ai = AsmInstruction(_module, addr))

@Maroc-OS Maroc-OS merged commit 09c00ba into master Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant