Actually there's more to it than that..
The compiler (-Wformat-security) throws a warning if you pass a non-literal to formatting function with no parameters:


```: warning: format not a string literal and no format arguments [-Wformat-security]```


So I think should be left as is.