Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make: fix pedantic warning

  • Loading branch information...
commit 4e9fc0d41e167ee841ce27e87a71e05412a1a97a 1 parent c0be4d4
@dvv dvv authored committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/source-map.h
View
6 src/source-map.h
@@ -39,7 +39,7 @@ class SourceInfo {
SourceInfo(const uint32_t offset,
const uint32_t jit_offset) : filename_(NULL),
source_(NULL),
- length_(NULL),
+ length_(0),
offset_(offset),
jit_offset_(jit_offset) {
}
@@ -51,8 +51,8 @@ class SourceInfo {
inline void source(const char* source) { source_ = source; }
inline void length(uint32_t length) { length_ = length; }
- inline const uint32_t offset() { return offset_; }
- inline const uint32_t jit_offset() { return jit_offset_; }
+ inline uint32_t offset() { return offset_; }
+ inline uint32_t jit_offset() { return jit_offset_; }
private:
const char* filename_;
Please sign in to comment.
Something went wrong with that request. Please try again.