]> git.sur5r.net Git - u-boot/blobdiff - lib/slre.c
common: print \n in initr_scsi()
[u-boot] / lib / slre.c
index f90749f8ed17f4f659c75aceb8d92833c58d1a9b..e26d344865b83f7639fb711fd4b6a2c21618f4e8 100644 (file)
@@ -441,7 +441,7 @@ loop_greedy(const struct slre *r, int pc, const char *s, int len, int *ofs)
 {
        int     saved_offset, matched_offset;
 
-       saved_offset = matched_offset = *ofs;
+       matched_offset = *ofs;
 
        while (match(r, pc + 2, s, len, ofs, NULL)) {
                saved_offset = *ofs;