Revision 1263

trunk/src/linad99/cmpdif4.cpp (revision 1263)
147 147
  dvector temp_vec(tmp.indexmin(),tmp.indexmax());
148 148
  for (int i=tmp.indexmax();i>=tmp.indexmin();i--)
149 149
  {
150
    double ttmp;
150
    double ttmp = 0.0;
151 151
    gradient_structure::get_fp()->fread(ttmp);
152 152
    temp_vec(i)=ttmp;
153 153
  }
......
166 166
  ivector temp_vec(tmp.indexmin(),tmp.indexmax());
167 167
  for (int i=tmp.indexmax();i>=tmp.indexmin();i--)
168 168
  {
169
    int tmp;
169
    int tmp = 0;
170 170
    gradient_structure::get_fp()->fread(&tmp,sizeof(int));
171 171
    temp_vec(i)=tmp;
172 172
  }
......
187 187
  dvector temp_vec(tmp.indexmin(),tmp.indexmax());
188 188
  for (int i=tmp.indexmax();i>=tmp.indexmin();i--)
189 189
  {
190
    double ttmp;
190
    double ttmp = 0.0;
191 191
    //gradient_structure::get_fp()->fread(&ttmp,sizeof(double));
192 192
    gradient_structure::get_fp()->fread(ttmp);
193 193
    temp_vec(i)=ttmp;
trunk/src/linad99/cmpdif8.cpp (revision 1263)
132 132
{
133 133
  // Back up the stream and read the number of bytes written in the
134 134
  // ``write function'' corresponding to this ``read function''
135
  double tmpout;
135
  double tmpout = 0;
136 136
  gradient_structure::get_fp()->fread(&tmpout,sizeof(double));
137 137
  return tmpout;
138 138
}
......
143 143
 */
144 144
double restore_double_value(void)
145 145
{
146
  double tmpout;
146
  double tmpout = 0;
147 147
  gradient_structure::get_fp()->fread(tmpout);
148 148
  return tmpout;
149 149
}
......
154 154
 */
155 155
int restore_int_value(void)
156 156
{
157
  int tmpout;
157
  int tmpout = 0;
158 158
  gradient_structure::get_fp()->fread(tmpout);
159 159
  return tmpout;
160 160
}

Also available in: Unified diff