summaryrefslogtreecommitdiff
path: root/src/htsserver.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-05-09 17:10:06 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-05-09 17:10:06 +0000
commit5d564d08125526d153928adcf872ed30827de6ed (patch)
tree6f17272de93fe03a3b19ab0210814fea5ea51b71 /src/htsserver.c
parent90404c36f6ce33386242c00b41ec154dce65b30a (diff)
Fixed a bunch of warnings.
Diffstat (limited to 'src/htsserver.c')
-rw-r--r--src/htsserver.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/htsserver.c b/src/htsserver.c
index 609fd41..1698955 100644
--- a/src/htsserver.c
+++ b/src/htsserver.c
@@ -503,7 +503,7 @@ int smallserver(T_SOC soc,char* url,char* method,char* data, char* path) {
/* path : <path>/<project> */
if (!commandRunning) {
- intptr_t adrw = 0, adrpath = 0, adrprojname = 0;
+ intptr_t adrpath = 0, adrprojname = 0;
if (inthash_readptr(NewLangList, "path", &adrpath)
&& inthash_readptr(NewLangList, "projname", &adrprojname)) {
StringClear(fspath);
@@ -599,7 +599,7 @@ int smallserver(T_SOC soc,char* url,char* method,char* data, char* path) {
if (!commandRunning) {
intptr_t adrcd = 0;
if (inthash_readptr(NewLangList, "command_do", &adrcd)) {
- intptr_t adrw = 0, adrpath = 0, adrprojname = 0;
+ intptr_t adrw = 0, adrpath = 0;
if (inthash_readptr(NewLangList, "winprofile", &adrw)) {
/* User general profile */
@@ -1281,7 +1281,6 @@ int smallserver(T_SOC soc,char* url,char* method,char* data, char* path) {
int htslang_init(void) {
if (NewLangList==NULL) {
- int i = 0;
NewLangList=inthash_new(NewLangListSz);
if (NewLangList==NULL) {
abortLog("Error in lang.h: not enough memory");
@@ -1528,7 +1527,7 @@ static void LANG_DELETE(void) {
static void LANG_INIT(char* path) {
//CWinApp* pApp = AfxGetApp();
//if (pApp) {
- int test = 0; /* pApp->GetProfileInt("Language","IntId",0); */
+ /* pApp->GetProfileInt("Language","IntId",0); */
LANG_T(path, 0 /*pApp->GetProfileInt("Language","IntId",0)*/ );
//}
}
@@ -1563,7 +1562,6 @@ static int LANG_LIST(char* path, char* buffer) {
char lang_str[1024];
int i = 0;
int curr_lng=LANG_T(path, -1);
- int found = 0;
buffer[0] = '\0';
do {
QLANG_T(i);