remove unreachable code, make some functions static and fix parameter type
remove unreachable code, make some functions static and fix parameter type


git-svn-id: 444ed946b9c2220da791e84c3dd156a05f92db99@2136 c6295689-39f2-0310-b995-f0e70906c6a9

kasparsd/opensc-latvia-id,ieugen/OpenSC,OpenSC/OpenSC,dirkx/OpenSC,LudovicRousseau/OpenSC,nmav/OpenSC,UIKit0/OpenSC,CardContact/OpenSC,jpki/OpenSC,dirkx/OpenSC,marschap/pkg-opensc,UIKit0/OpenSC,dirkx/OpenSC.tokend,ieugen/OpenSC,philipWendland/OpenSC,mouse07410/OpenSC,gentoo/OpenSC,dirkx/OpenSC.tokend,mtrojnar/OpenSC,tidatida/OpenSC,philipWendland/OpenSC,frankmorgner/OpenSC,aobaid/OpenSC,gentoo/OpenSC,metsma/OpenSC,0x7678/OpenSC,nmav/OpenSC,marschap/pkg-opensc,0x7678/myOpenSC,financeX/OpenSC,OpenSC/OpenSC,0x7678/OpenSC,adminmt/OpenSC,hongquan/OpenSC-main,l1k/OpenSC,0x7678/myOpenSC,velter/OpenSC,mouse07410/OpenSC,ieugen/OpenSC,financeX/OpenSC,CardContact/OpenSC,0x7678/myOpenSC,carlhoerberg/OpenSC,germanblanco/OpenSC,tidatida/OpenSC,kasparsd/opensc-latvia-id,hhonkanen/OpenSC,metsma/OpenSC,frankmorgner/OpenSC,metsma/OpenSC,frankmorgner/OpenSC,marschap/pkg-opensc,UIKit0/OpenSC,dirkx/OpenSC.tokend,ieugen/OpenSC,carlhoerberg/OpenSC,0x7678/OpenSC,gentoo/OpenSC,kasparsd/opensc-latvia-id,Jakuje/OpenSC,Jakuje/OpenSC,frankmorgner/OpenSC,mtrojnar/OpenSC,adminmt/OpenSC,adminmt/OpenSC,LudovicRousseau/OpenSC,0x7678/myOpenSC,hongquan/OpenSC-main,germanblanco/OpenSC,carlhoerberg/OpenSC,fabled/OpenSC,OpenSC/OpenSC,aobaid/OpenSC,jpki/OpenSC,marschap/pkg-opensc,velter/OpenSC,l1k/OpenSC,LudovicRousseau/OpenSC,AktivCo/OpenSC,financeX/OpenSC,fabled/OpenSC,CardContact/OpenSC,gemini/OpenSC,AktivCo/OpenSC,gemini/OpenSC,germanblanco/OpenSC,velter/OpenSC,dengert/OpenSC,jpki/OpenSC,martinpaljak/OpenSC,AktivCo/OpenSC,gentoo/OpenSC,0x7678/OpenSC,rickyepoderi/OpenSC,hhonkanen/OpenSC,viktorTarasov/OpenSC-SM,adminmt/OpenSC,0x7678/myOpenSC,fabled/OpenSC,dirkx/OpenSC.tokend,aobaid/OpenSC,dirkx/OpenSC.tokend,martinpaljak/OpenSC,nmav/OpenSC,Jakuje/OpenSC,fabled/OpenSC,dirkx/OpenSC,dengert/OpenSC,viktorTarasov/OpenSC-SM,rickyepoderi/OpenSC,dengert/OpenSC,kasparsd/opensc-latvia-id,dirkx/OpenSC,mtrojnar/OpenSC,Jakuje/OpenSC,rickyepoderi/OpenSC,velter/OpenSC,gentoo/OpenSC,UIKit0/OpenSC,l1k/OpenSC,financeX/OpenSC,dirkx/OpenSC.tokend,mouse07410/OpenSC,hongquan/OpenSC-main,dirkx/OpenSC,hhonkanen/OpenSC,tidatida/OpenSC,tidatida/OpenSC,martinpaljak/OpenSC,viktorTarasov/OpenSC-SM,carlhoerberg/OpenSC,ieugen/OpenSC,aobaid/OpenSC,financeX/OpenSC,carlhoerberg/OpenSC,philipWendland/OpenSC,gemini/OpenSC