That depends on whether the call has a side effect. I'm not 100% sure, but dmd only seems to warn about "no effect" statements for strong pure functions.