Bug? [CLOSED] Unused Subs false positive

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello,

For information

I had new "Sub not used" log entries on a known project. So, I took a smaller (lighter) one to test and saw the same behavior
This sample code is Stevel05's AudioRecord's demo project
  • out of the box after having fixed things which changed over the years (like targetSdk) to have a clear log but without changing any part of its initial source when there is no underscore in the sub's name, I get the "unused sub" warning
  • changing it clears the warning
  • changing it back produces the warning
I am on release mode (without obfuscation). I have seen this even without using the threading initially.
 
Last edited:
Top