Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote: > +int pager_in_use = getenv("GIT_PAGER_IN_USE"); test.c:3: error: initializer element is not constant So you could only add this at another place where pager_in_use is not yet used (e.g. start of main or some other initialization method). I did not want to put it at the beginning of main or another function. After adding GIT_PAGER_IN_USE I thought it would make sense to remove pager_in_use because there were only two parts of code using pager_in_use: > pager_in_use = 1; > setenv(..); and > pager_in_use || getenv(..) - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html