소스 검색

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)
 {
-	struct vec4 *dstv = (struct vec4 *)dst;
+	struct vec4 *dstv;
 	float det;
 	float m3x3[9];
 	int   i, j, sign;