changeset 619:8778be2e70e7

[project @ 1994-08-15 04:54:17 by jwe]
author jwe
date Mon, 15 Aug 1994 04:54:33 +0000
parents ca6e72746161
children 8e4e7e5f307e
files src/load-save.cc
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/load-save.cc	Mon Aug 15 04:44:32 1994 +0000
+++ b/src/load-save.cc	Mon Aug 15 04:54:33 1994 +0000
@@ -1417,6 +1417,8 @@
 static floating_point_format
 get_floating_point_format (int mach)
 {
+  floating_point_format flt_fmt = LS_UNKNOWN_FLT_FMT;
+
   switch (mach)
     {
     case 0:
@@ -1440,10 +1442,13 @@
       break;
 
     default:
-      flt_fmt = LS_UNKOWN_FLT_FMT;
+      flt_fmt = LS_UNKNOWN_FLT_FMT;
       break;
     }
+
+  return flt_fmt;
 }
+
 // Extract one value (scalar, matrix, string, etc.) from stream IS and
 // place it in TC, returning the name of the variable.
 //