~unity-team/nux/nux.redirected-views

« back to all changes in this revision

Viewing changes to Nux/Nux.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:
29
29
  static NCriticalSection ThreadArrayLock;
30
30
  std::vector<NThread *> ThreadArray;
31
31
 
32
 
  void NuxInitialize(const char *CommandLine)
 
32
  void NuxInitialize(const char * /* CommandLine */)
33
33
  {
34
34
    nux::NuxCoreInitialize(0);
35
35
    nux::NuxGraphicsInitialize();
42
42
      int width,
43
43
      int height,
44
44
      WindowThread *parent,
45
 
      ThreadUserInitFunc user_init_func,
46
 
      void *data,
 
45
      ThreadUserInitFunc /* user_init_func */,
 
46
      void * /* data */,
47
47
      bool Modal)
48
48
  {
49
49
    // check that Parent exist