Skip to content

Commit a8c63e2

Browse files
author
kalibera
committed
Add initialization.
git-svn-id: https://svn.r-project.org/R/trunk@87691 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 2b43a48 commit a8c63e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/errors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2347,7 +2347,7 @@ SEXP
23472347
R_GetCurrentSrcref(int skip)
23482348
{
23492349
RCNTXT *c = R_GlobalContext;
2350-
SEXP srcref;
2350+
SEXP srcref = NULL;
23512351
int keep_looking = skip == NA_INTEGER;
23522352
if (keep_looking) skip = 0;
23532353
if (skip < 0) { /* to count up from the bottom, we need to count them all first */

0 commit comments

Comments
 (0)