aboutsummaryrefslogtreecommitdiff
path: root/src/gloseq.cpp
diff options
context:
space:
mode:
authorBarattero Laurent <laurent@larueluberlu.net>2024-10-06 22:22:06 +0200
committerBarattero Laurent <laurent@larueluberlu.net>2024-10-06 22:22:06 +0200
commit1742fe7d6f81169a5182e459dd45e51a69181ef0 (patch)
tree4dfa824ea105de42d63d2a01608f2a5f08dc7880 /src/gloseq.cpp
parent49fe49f7f0c6ad3ec81fbcbcd266ce627379182a (diff)
Chiefly, fixed the bug that blocked the compilation.HEADmaster
Also, update of atoreconf, readme, man, exemples, help...
Diffstat (limited to 'src/gloseq.cpp')
-rw-r--r--src/gloseq.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gloseq.cpp b/src/gloseq.cpp
index f6a0c3b..77c219e 100644
--- a/src/gloseq.cpp
+++ b/src/gloseq.cpp
@@ -21,7 +21,7 @@
*
* Description:
*
- * Version: 0.3.0
+ * Version: 0.3.2
* Created: 27/12/2013 10:38:49
* Revision: none
* Compiler: gcc
@@ -81,7 +81,7 @@ GloSeq::verify ()
#endif
string line;
- for(int nb_line = 1; getline(glofile, line) != 0; nb_line++)
+ for(int nb_line = 1; getline(glofile, line); nb_line++)
{
// cleaning each line
cleanLine(line);
@@ -141,7 +141,7 @@ GloSeq::verify ()
cerr << "Error : "<< nb_error <<" syntax error in " << file_name << endl;
else
cerr << "Error : "<< nb_error <<" syntax errors in " << file_name << endl;
- throw;
+ throw;
}
/* step 3 */