aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lread.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lread.c b/src/lread.c
index 9afeec0192e..4ae0fcbf21b 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -588,7 +588,8 @@ openp (path, str, suffix, storeptr, exec_only)
588 /* We succeeded; return this descriptor and filename. */ 588 /* We succeeded; return this descriptor and filename. */
589 if (storeptr) 589 if (storeptr)
590 *storeptr = build_string (fn); 590 *storeptr = build_string (fn);
591 RETURN_UNGCPRO (fd); 591 UNGCPRO;
592 return fd;
592 } 593 }
593 } 594 }
594 595
@@ -598,10 +599,11 @@ openp (path, str, suffix, storeptr, exec_only)
598 nsuffix += lsuffix + 1; 599 nsuffix += lsuffix + 1;
599 } 600 }
600 if (absolute) 601 if (absolute)
601 RETURN_UNGCPRO (-1); 602 break;
602 } 603 }
603 604
604 RETURN_UNGCPRO (-1); 605 UNGCPRO;
606 return -1;
605} 607}
606 608
607 609