title: warning #1011: missing return statement at end of non-void function
body: <p>I am getting this warning and it is repeating throughout the build .<br>
  Warning is from below code logic :Line number 6</p>
  
  <pre><code>class sample
  {
  private:                                                               //1
      // Private so that it can not be called                            //2
      sample();                                                          //3
      sample(sample const&amp;);                                             //4
      // Assigning copy constructor with default constructor             //5
      sample&amp; operator= (sample const&amp;){};                               //6
      //                                                                 //7
      static sample *m_Instancesample;                                   //8
      static bool m_binstanceFlagsample;                                 //9
  public:                                                                //10
      static sample *getInstance();                                      //11
      ~sample();                                                         //12
      void dummy(); 
  };
  </code></pre>