Fixed undefined variable value with certain code paths.
Fixed undefined variable value with certain code paths.

In sentinelFlushConfig() fd could be undefined when the following if
statement was true:

        if (rewrite_status == -1) goto werr;

This could cause random file descriptors to get closed.

colstrom/redis,rogerchina/redis,xuguruogu/redis,iandyh/redis,francischan714/redis,antirez/redis,yuhc/redis-benchmark-enhanced,z-fork/redis,wbailey5/redis,gilala/bjredis,AplayER/redis,mingyaaaa/redis,dreamquster/redis,CodeJuan/redis,universsky/redis,yossigo/redis,a-pavlov/redis,antirez/redis,CodeJuan/redis,pmem/redis,thomasdarimont/redis,yossigo/redis,MOON-CLJ/redis,mcanthony/redis,RepmujNetsik/redis,july2993/redis,aim-for-better/redis,Wangyao14cyy/redis,shreesundara/redis,ofirluzon/redis,soveran/redis,holstvoogd/redis,hedisdb/hedis,mcanthony/redis,mengzhejin/RedisStudy,izhoujie/redis,ituncle/redis,fengshao0907/redis,ouyangkongtong/redis,AplayER/redis,rogerchina/redis,devaos/redis,nnog/redis,YongMan/redis,NBSW/redis,modulexcite/redis,modulexcite/redis,zczhuohuo/redis,jackyan/redis,AALEKH/redis,narma/redis,gilala/hredis,xujunhai1991/redis,dreamquster/redis,ouyangkongtong/redis,saisai/redis,ofirluzon/redis,roth1002/redis,kensou97/redis,hedisdb/hedis,190235047/redis,ErikDubbelboer/redis,jingjidejuren/redis,citusdata/redis,programmecat/redis,twskipper/redis,HeartSaVioR/redis,gilala/bjredis,gilala/redis,z-fork/redis,universsky/redis,j0hnma/hszredis,Markgorden/redis,qiyang0221/redis,z-fork/redis,ErikDubbelboer/redis,charsyam/redis,healerkx/redis,oranagra/redis,fengshao0907/redis,healerkx/redis,nuxeh/redis,takeshineshiro/redis,ctripcorp/redis,flashbuckets/redis,mingyaaaa/redis,SummonY/redis,saisai/redis,ofirluzon/redis,izhoujie/redis,OmarQunsul/graph-redis,Aliceljm1/redis,harrisonfeng/redis,tjschuck/redis,Aaron1992/redis,izhoujie/redis,mverrilli/redis,JoeWoo/redis,wujf/redis,citusdata/redis,guker/redis,weizijun/redis,elkingtonmcb/redis,thomasdarimont/redis,roth1002/redis,riyan8250/redis,janekmi/redis,StevenTsai/redis,fengshao0907/redis,aim-for-better/redis,j0hnma/hszredis,qiyang0221/redis,kaushik94/redis,mverrilli/redis,wprice/redis,mgk/redis,Soledad89/redis,mengzhejin/RedisStudy,alenslan/redis,Markgorden/redis,SyntaxStacks/redis,badboy/redis,kmiku7/redis,190235047/redis,sunheehnus/redis,HeartSaVioR/redis,kmiku7/redis,oranagra/redis,OmarQunsul/graph-redis,itugs/redis,PradheepShrinivasan/redis,zguangyu/redis,cloudrain21/redis,wujf/redis,zhcy/redis,h0x91b/redis,soloestoy/redis,h0x91b/redis,nuxeh/redis,mengyou0304/redis,soloestoy/redis,neomantra/redis,valdsJohn/redis,zczhuohuo/redis,YuraLukashik/redis,huyuezheng/redis,elkingtonmcb/redis,oranagra/redis,HeartSaVioR/redis,duanx/redis,yuhc/redis-benchmark-enhanced,devaos/redis,badboy/redis,arijitvt/redis,Aaron1992/redis,cnbin/redis,seppo0010/redis,ctripcorp/redis,4396/redis,devaos/redis,mgk/redis,AALEKH/redis,ncopa/redis,seppo0010/rlite-server,Aaron1992/redis,hawkchch/redis,sunheehnus/redis,MasahikoSawada/redis,netroby/redis,vincent-vivian-liu/redis,flashbuckets/redis,netroby/redis,weizijun/redis,ituncle/redis,mingyaaaa/redis,guker/redis,xlzhan/redis,tjschuck/redis,nuxeh/redis,h0x91b/redis,mengzhejin/RedisStudy,abhiklodh/redis,ipmobiletech/redis,ouyangkongtong/redis,atreeyang/redis,francischan714/redis,GrimDerp/redis,soloestoy/redis,YongMan/redis,AALEKH/redis,ipmobiletech/redis,gilala/hredis,SyntaxStacks/redis,elkingtonmcb/redis,wenxueliu/redis_comment,taoguan/redis,rouzier/redis,simplestbest/redis,hgl888/redis,ytjiang/redis,ipmobiletech/redis,zguangyu/redis,mattsta/redis,itamarhaber/redis,rogerchina/redis,zczhuohuo/redis,gaoxianglong/redis,mverrilli/redis,tanghaodong25/redis,a-pavlov/redis,NBSW/redis,modulexcite/redis,tanghaodong25/redis,rogerlz/redis,itugs/redis,GitHubMota/redis,SyntaxStacks/redis,atreeyang/redis,wbailey5/redis,programmecat/redis,clamoriniere1A/redis,4396/redis,allengaller/redis,ipmobiletech/redis,gaoxianglong/redis,josiahcarlson/redis,CodeJuan/redis,hgl888/redis,pkdevbox/redis,OmarQunsul/graph-redis,wangyikai/redis,mumingv/redis,nnog/redis,ituncle/redis,valdsJohn/redis,iandyh/redis,abhiklodh/redis,cnbin/redis,pcarrier/redis,xujunhai1991/redis,csuhawk/redis,jackyan/redis,timothyohare/3rdPartySrc-redis,Aliceljm1/redis,davidradunz/redis,soloestoy/redis,roth1002/redis,4396/redis,MasahikoSawada/redis,Soledad89/redis,thomasdarimont/redis,shining-yang/redis,csuhawk/redis,abhiklodh/redis,jackyan/redis,july2993/redis,LongXQ/redis,hedisdb/hedis,jbochi/redis,harrisonfeng/redis,hornen/redis,roth1002/redis,Aaron1992/redis,saisai/redis,jbochi/redis,MOON-CLJ/redis,dayuoba/redis,cusspvz/redis,GitHubMota/redis,honestme/redis,cnbin/redis,shining-yang/redis,Sciumo/redis,Soledad89/redis,h0x91b/redis,flashbuckets/redis,seppo0010/rlite-server,GrimDerp/redis,rogerlz/redis,citusdata/redis,supasate/redis,hedisdb/hedis,mingyaaaa/redis,Sciumo/redis,ErikDubbelboer/redis,taoguan/redis,zhiliaoniu/redis,aim-for-better/redis,pcarrier/redis,timothyohare/3rdPartySrc-redis,4396/redis,shining-yang/redis,YuraLukashik/redis,Wangyao14cyy/redis,elkingtonmcb/redis,a-pavlov/redis,zhcy/redis,RepmujNetsik/redis,kmiku7/redis,cusspvz/redis,neomantra/redis,csuhawk/redis,StevenTsai/redis,ctripcorp/redis,ncopa/redis,alenslan/redis,yossigo/redis,gilala/hbjredis,clamoriniere1A/redis,YuraLukashik/redis,antirez/redis,honestme/redis,jackyan/redis,colstrom/redis,shreesundara/redis,zczhuohuo/redis,Aliceljm1/redis,mverrilli/redis,takeshineshiro/redis,davidradunz/redis,csuhawk/redis,simplestbest/redis,brg-liuwei/redis,LongXQ/redis,mgk/redis,pmem/redis,StevenTsai/redis,Aliceljm1/redis,gilala/bjredis,linfangrong/redis,tjschuck/redis,YuanZhewei/redis,ton31337/redis,healerkx/redis,kaushik94/redis,fengshao0907/redis,mumingv/redis,josiahcarlson/redis,gilala/bjredis,takeshineshiro/redis,colstrom/redis,seppo0010/redis,simplestbest/redis,jbochi/redis,jasonkying/redis,kensou97/redis,Sciumo/redis,brg-liuwei/redis,zhiliaoniu/redis,JoeWoo/redis,190235047/redis,arijitvt/redis,blackmady/redis,JoeWoo/redis,seppo0010/rlite-server,atreeyang/redis,YongMan/redis,xuguruogu/redis,shining-yang/redis,PKRoma/redis,mcanthony/redis,hawkchch/redis,ytjiang/redis,gilala/hredis,rogerlz/redis,yossigo/redis,itugs/redis,honestme/redis,PradheepShrinivasan/redis,charsyam/redis,xlzhan/redis,vincent-vivian-liu/redis,YuanZhewei/redis,wprice/redis,colstrom/redis,wangyikai/redis,honestme/redis,190235047/redis,josiahcarlson/redis,tanghaodong25/redis,j0hnma/hszredis,rouzier/redis,brg-liuwei/redis,zhiliaoniu/redis,wujf/redis,devaos/redis,jingjidejuren/redis,Soledad89/redis,davidradunz/redis,vincent-vivian-liu/redis,sunheehnus/redis,PKRoma/redis,gilala/hbjredis,PKRoma/redis,programmecat/redis,timothyohare/3rdPartySrc-redis,riyan8250/redis,ytjiang/redis,tellapart/redis,soveran/redis,ton31337/redis,clamoriniere1A/redis,atreeyang/redis,riyan8250/redis,NBSW/redis,blackmady/redis,francischan714/redis,duanx/redis,itamarhaber/redis,a-pavlov/redis,pcarrier/redis,kaushik94/redis,arijitvt/redis,gilala/hbjredis,ctripcorp/redis,seppo0010/redis,nnog/redis,pmem/redis,PKRoma/redis,mumingv/redis,Markgorden/redis,yossigo/redis,huyuezheng/redis,StevenTsai/redis,seppo0010/redis,seandsky/redis,holstvoogd/redis,duanx/redis,narma/redis,YongMan/redis,Sciumo/redis,jingjidejuren/redis,gilala/hbjredis,itamarhaber/redis,dayuoba/redis,wenxueliu/redis_comment,ErikDubbelboer/redis,pedigree/redis,jasonkying/redis,seppo0010/rlite-server,izhoujie/redis,ytjiang/redis,mengyou0304/redis,mengyou0304/redis,iandyh/redis,badboy/redis,ouyangkongtong/redis,j0hnma/szredis,huyuezheng/redis,kensou97/redis,allengaller/redis,mengzhejin/RedisStudy,holstvoogd/redis,citusdata/redis,davidradunz/redis,MOON-CLJ/redis,arijitvt/redis,nuxeh/redis,ton31337/redis,shreesundara/redis,j0hnma/hszredis,zguangyu/redis,harrisonfeng/redis,gilala/redis,cloudrain21/redis,wprice/redis,janekmi/redis,YuraLukashik/redis,twskipper/redis,timothyohare/3rdPartySrc-redis,yuhc/redis-benchmark-enhanced,cloudrain21/redis,PradheepShrinivasan/redis,Wangyao14cyy/redis,cusspvz/redis,clamoriniere1A/redis,hornen/redis,zguangyu/redis,rogerlz/redis,kaushik94/redis,GrimDerp/redis,neomantra/redis,pkdevbox/redis,AplayER/redis,GitHubMota/redis,wangyikai/redis,pkdevbox/redis,july2993/redis,pedigree/redis,neomantra/redis,supasate/redis,AplayER/redis,wbailey5/redis,soveran/redis,spinlock/redis,allengaller/redis,weizijun/redis,ofirluzon/redis,tanghaodong25/redis,charsyam/redis,oranagra/redis,flashbuckets/redis,RepmujNetsik/redis,pkdevbox/redis,dayuoba/redis,supasate/redis,narma/redis,tjschuck/redis,spinlock/redis,ituncle/redis,SummonY/redis,zhcy/redis,xujunhai1991/redis,francischan714/redis,linfangrong/redis,gaoxianglong/redis,ofirluzon/redis,Markgorden/redis,rouzier/redis,zhcy/redis,josiahcarlson/redis,hgl888/redis,kensou97/redis,xuguruogu/redis,mumingv/redis,jasonkying/redis,tellapart/redis,YuanZhewei/redis,gilala/redis,SummonY/redis,simplestbest/redis,netroby/redis,takeshineshiro/redis,tellapart/redis,valdsJohn/redis,GitHubMota/redis,yuhc/redis-benchmark-enhanced,wenxueliu/redis_comment,hawkchch/redis,alenslan/redis,LongXQ/redis,antirez/redis,wujf/redis,oranagra/redis,jbochi/parallel_redis,taoguan/redis,netroby/redis,twskipper/redis,badboy/redis,wenxueliu/redis_comment,blackmady/redis,healerkx/redis,charsyam/redis,PradheepShrinivasan/redis,GrimDerp/redis,neomantra/redis,CodeJuan/redis,huyuezheng/redis,seandsky/redis,programmecat/redis,hawkchch/redis,gilala/hredis,pedigree/redis,rogerchina/redis,Wangyao14cyy/redis,xlzhan/redis,wprice/redis,HeartSaVioR/redis,itamarhaber/redis,charsyam/redis,saisai/redis,allengaller/redis,janekmi/redis,harrisonfeng/redis,twskipper/redis,seandsky/redis,jbochi/parallel_redis,july2993/redis,modulexcite/redis,universsky/redis,blackmady/redis,zhiliaoniu/redis,jbochi/parallel_redis,spinlock/redis,linfangrong/redis,wbailey5/redis,SyntaxStacks/redis,qiyang0221/redis,OmarQunsul/graph-redis,xlzhan/redis,alenslan/redis,NBSW/redis,brg-liuwei/redis,kmiku7/redis,LongXQ/redis,xuguruogu/redis,duanx/redis,dreamquster/redis,JoeWoo/redis,jingjidejuren/redis,mgk/redis,rouzier/redis,j0hnma/szredis,linfangrong/redis,guker/redis,taoguan/redis,ncopa/redis,jasonkying/redis,j0hnma/szredis,supasate/redis,qiyang0221/redis,dreamquster/redis,mengyou0304/redis,holstvoogd/redis,shreesundara/redis,nnog/redis,MasahikoSawada/redis,hornen/redis,vincent-vivian-liu/redis,xujunhai1991/redis,spinlock/redis,PKRoma/redis,cusspvz/redis,AALEKH/redis,mattsta/redis,pmem/redis,aim-for-better/redis,gaoxianglong/redis,riyan8250/redis,itugs/redis,SummonY/redis,valdsJohn/redis,universsky/redis,z-fork/redis,thomasdarimont/redis,tellapart/redis,RepmujNetsik/redis,soloestoy/redis,gilala/redis,YuanZhewei/redis,abhiklodh/redis,MasahikoSawada/redis,ncopa/redis,weizijun/redis,soveran/redis,j0hnma/szredis,wangyikai/redis,pcarrier/redis,cnbin/redis,seandsky/redis,dayuoba/redis,hornen/redis,pedigree/redis,hgl888/redis,guker/redis,sunheehnus/redis,mcanthony/redis,mattsta/redis,iandyh/redis,ton31337/redis,cloudrain21/redis,janekmi/redis