~unity-team/nux/nux.armel-fixes

« back to all changes in this revision

Viewing changes to NuxCore/OutputDevice.cpp

  • Committer: Tarmac
  • Author(s): Michi Henning
  • Date: 2012-10-02 01:05:45 UTC
  • mfrom: (667.2.5 1056633)
  • Revision ID: tarmac-20121002010545-jphizk30nj3oe9ui
Added -Wextra to compiler flags and removed a large number of warnings about unused parameters. Code compiles clean now without warnings, except for one remaining warning (see bug #1052765).. Fixes: https://bugs.launchpad.net/bugs/1056633. Approved by Michi Henning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
216
216
      @param  log_data    Text to log.
217
217
      @param  log_prefix        Prefix for the text
218
218
  */
219
 
  void LogFileOutput::Serialize (const TCHAR *log_data, const TCHAR *log_prefix, int severity)
 
219
  void LogFileOutput::Serialize (const TCHAR *log_data, const TCHAR *log_prefix, int /* severity */)
220
220
  {
221
221
    if (!_enabled)
222
222
      return;
336
336
      @param  log_data        Text to log.
337
337
      @param  log_prefix        Prefix for the text
338
338
  */
339
 
  void VisualOutputConsole::Serialize (const TCHAR *text, const TCHAR *log_prefix, int severity)
 
339
  void VisualOutputConsole::Serialize (const TCHAR * /* text */, const TCHAR * /* log_prefix */, int /* severity */)
340
340
  {
341
341
    if (!_enabled)
342
342
      return;