title: ‘noreturn’ function does return
body: <p>When I compile the C program below, I get this warning:
  <code>‘noreturn’ function does return</code>. This is the function:</p>
  
  <pre><code>void hello(void){
    int i;
    i=1;
   }
  </code></pre>
  
  <p>Why could it be happening? 
  All the call to this function is <code>hello();</code></p>
  
  <p>EDIT:
  The full error output:  </p>
  
  <pre><code> home.c: In function ‘hello’:
   hhme.c:838:7: error: variable ‘i’ set but not used [-Werror=unused-but-set-variable]
   home.c:840:1: error: ‘noreturn’ function does return [-Werror]
   cc1: all warnings being treated as errors
   make: *** [home.o] Error 1
  </code></pre>