nv50: Fix 'control reaches end of non-void function' warning.
authorVinson Lee <vlee@vmware.com>
Thu, 16 Sep 2010 01:26:06 +0000 (18:26 -0700)
committerVinson Lee <vlee@vmware.com>
Thu, 16 Sep 2010 01:26:06 +0000 (18:26 -0700)
src/gallium/drivers/nv50/nv50_pc.h

index 080f99f..fd2799e 100644 (file)
@@ -171,6 +171,7 @@ nv_type_order(ubyte type)
       return 3;
    }
    assert(0);
+   return 0;
 }
 
 static INLINE uint