fix warning about setting String to NULL

This commit is contained in:
Me No Dev 2016-06-26 16:21:44 +03:00
parent e5a6999582
commit f8141fcd0e
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
#include "WebHandlerImpl.h"
AsyncStaticWebHandler::AsyncStaticWebHandler(const char* uri, FS& fs, const char* path, const char* cache_control)
: _fs(fs), _uri(uri), _path(path), _default_file("index.htm"), _cache_control(cache_control), _last_modified(NULL)
: _fs(fs), _uri(uri), _path(path), _default_file("index.htm"), _cache_control(cache_control), _last_modified("")
{
// Ensure leading '/'
if (_uri.length() == 0 || _uri[0] != '/') _uri = "/" + _uri;