gettext.con commit builtin/log.c: Fix an "Using plain integer as NULL pointer" warning (22a8699)
   1/*
   2 * Copyright (c) 2010 Ævar Arnfjörð Bjarmason
   3 */
   4
   5#include "git-compat-util.h"
   6#include "gettext.h"
   7
   8int use_gettext_poison(void)
   9{
  10        static int poison_requested = -1;
  11        if (poison_requested == -1)
  12                poison_requested = getenv("GIT_GETTEXT_POISON") ? 1 : 0;
  13        return poison_requested;
  14}