summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_rdp.c
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2017-02-02 10:14:55 +0900
committermetalefty <meta@vmeta.jp>2017-02-27 14:17:25 +0900
commit096baec33142ccae6bd3a3a0877b4b1a870a51f8 (patch)
treeff86d96c946a70a9392acf7bf1b33f6b2184ceb9 /libxrdp/xrdp_rdp.c
parent849c1a22a24be80b2681e649f695126578740e6b (diff)
downloadxrdp-proprietary-096baec33142ccae6bd3a3a0877b4b1a870a51f8.tar.gz
xrdp-proprietary-096baec33142ccae6bd3a3a0877b4b1a870a51f8.zip
no cast is needed for NULL
Diffstat (limited to 'libxrdp/xrdp_rdp.c')
-rw-r--r--libxrdp/xrdp_rdp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c
index a9909dcd..571ee093 100644
--- a/libxrdp/xrdp_rdp.c
+++ b/libxrdp/xrdp_rdp.c
@@ -42,11 +42,11 @@ xrdp_rdp_read_config(struct xrdp_client_info *client_info)
int index = 0;
struct list *items = (struct list *)NULL;
struct list *values = (struct list *)NULL;
- char *item = (char *)NULL;
- char *value = (char *)NULL;
+ char *item = NULL;
+ char *value = NULL;
char cfg_file[256];
- char *p = (char *)NULL;
- char *tmp = (char *)NULL;
+ char *p = NULL;
+ char *tmp = NULL;
int tmp_length = 0;
/* initialize (zero out) local variables: */