Revision 1263 trunk/src/linad99/cmpdif8.cpp

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