• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

作図ソフト dia の改良版


Commit MetaInfo

修订版1ae7a9087756163a1b7b9af7ac4595b56edc3084 (tree)
时间2014-09-08 03:17:46
作者Hans Breuer <hans@breu...>
CommiterHans Breuer

Log Message

[scan-build] Value stored to 'angle' is never read

prop_matrix.c:209:5: warning: Value stored to 'angle' is never read

angle = atan2 (prop->matrix->xy, prop->matrix->xx)*180/G_PI;
~

1 warning generated.

更改概述

差异

--- a/lib/prop_matrix.c
+++ b/lib/prop_matrix.c
@@ -206,7 +206,6 @@ matrixprop_reset_widget(MatrixProperty *prop, GtkWidget *widget)
206206
207207 dia_matrix_get_angle_and_scales (prop->matrix, &a, &sx, &sy);
208208
209- angle = atan2 (prop->matrix->xy, prop->matrix->xx)*180/G_PI;
210209 angle = -a*180/G_PI;
211210 }
212211