瀏覽代碼

libobs/graphics: Remove redundant variable assignment

hwdro 9 年之前
父節點
當前提交
017d77b399
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libobs/graphics/matrix4.c

+ 1 - 1
libobs/graphics/matrix4.c

@@ -231,7 +231,7 @@ void matrix4_scale_i(struct matrix4 *dst, const struct vec3 *v,
 
 
 bool matrix4_inv(struct matrix4 *dst, const struct matrix4 *m)
 bool matrix4_inv(struct matrix4 *dst, const struct matrix4 *m)
 {
 {
-	struct vec4 *dstv = (struct vec4 *)dst;
+	struct vec4 *dstv;
 	float det;
 	float det;
 	float m3x3[9];
 	float m3x3[9];
 	int   i, j, sign;
 	int   i, j, sign;