mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-10-08 16:21:03 -04:00
httpserver: Initialize HttpCookie httpOnly member
Initialize httpOnly in the HttpCookie constructor initializer list. cppcheck identified httpOnly as potentially uninitialized. Signed-off-by: Robin Getz <rgetz503@gmail.com>
This commit is contained in:
@@ -28,7 +28,8 @@ HttpCookie::HttpCookie(const QByteArray name, const QByteArray value, const int
|
||||
this->version=1;
|
||||
}
|
||||
|
||||
HttpCookie::HttpCookie(const QByteArray source)
|
||||
HttpCookie::HttpCookie(const QByteArray source) :
|
||||
httpOnly(false)
|
||||
{
|
||||
version=1;
|
||||
maxAge=0;
|
||||
|
||||
Reference in New Issue
Block a user