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 080f99f378600f19dcee1ccec5b3ceba886da490..fd2799eba1e5140a2c60e14525f5520bc1ddbda1 100644 (file)
@@ -171,6 +171,7 @@ nv_type_order(ubyte type)
       return 3;
    }
    assert(0);
+   return 0;
 }
 
 static INLINE uint