Skip to content

Commit

Permalink
- Fix uninitialized oops for clang -O3
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@12886 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Sep 12, 2012
1 parent c85e1ad commit 49db3e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/runtime/systemimpl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1650,7 +1650,7 @@ static int getLoadModelPathFromDefaultTarget(const char *name, modelicaPathEntry
{
const char *foundExtra = 0;
long foundVersion = -1;
int i,foundIndex;
int i,foundIndex = -1;

/* Force preferred version MSL 3.1 */
if (0 == strcmp("Modelica",name)) {
Expand Down

0 comments on commit 49db3e7

Please sign in to comment.